Ah that one......
hi there,
thx for the quick reply,
I was actually confused and frustrated at that time I didn't think about what I was writing, anyways I got it done!
The problem was in the SEROUT statement of the output program, where I initialized the variable to be 64, " i = 64 " and then in the SEROUT statement I entered " #i " instead of just " i " , it was totally a syntax mistake, 'cause adding # displays the decimal value of " i " instead of 64.
THANK GOD I was so happy when I succeeded, I received a "64" on the output!!! Phew!!
But there's a but. I'm now adding an RF module but before it is of course the codec (encoder on Tx, decoder on Rx) and it needs two inputs (obviously!):
The clock and data. Is the clock period corresponding to the " Define SEROUT_DELAYUS = 500 " ? 'cause this delay corresponds to 1KHz, so does that mean I have to use a 1 KHz clock for the encoder/decoder?
thx for any future help.
regards.