Go Down

Topic: Library for RAM chip (Read 4 times) previous topic - next topic

farlepet

WHat i wanted was to have _read read the outputs of the ram and have _read = the output ex: out = 1101; _read = 13;

AWOL

#21
Apr 22, 2011, 11:42 pm Last Edit: Apr 22, 2011, 11:45 pm by AWOL Reason: 1
If that's what you wanted, why does it return zero?

Your _write method also (unusually) returns a value that is always zero.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

farlepet

I changed, but still has an error, do i have to have it do: return _rbits; ?

AWOL

Did you initialise _rbits?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

farlepet


Go Up