Hello,
I have the following subroutine which reads a 2bit gray code rotary encoder.
This encoder has also a push button I need to use for other functions.
The idea is to built a menu system to...
Type: Posts; User: Fanias; Keyword(s):
Hello,
I have the following subroutine which reads a 2bit gray code rotary encoder.
This encoder has also a push button I need to use for other functions.
The idea is to built a menu system to...
Thank you both for your usefull comments.
@ Richard,
you are correct, I've done my self calculations and we are the same.
The problem must be somewhere else or at PIC configuration (maybe ??)...
OMG !!!
Thank you Richard, I couldn't see the obvious !!!
I feel I have to post the solution you provided and I ended up with a smaller code that does the same.
...
Hello again,
after solving my problems with serial port, I found that PIC (18F46K22) hangs after I send a command 14 times exactly.
I'm using some code I found in the forum to remote control via...
Thank you both for your time and answers.
I think I found a solution, not sure why is this happening but works...
I tread the numbers I read from radio as BCD, I convert them to binary,...
Hello all,
I think I need your help to resolve this.
I have a radio that accepts commands via its serial port.
My project is to remote control it (wireless or infrared) to change memories,...
You make me feel stupid , but I forgive you :) it's always good to learn something new.
My mistake is clear about the use of the STR modifier, however can you help me with the I2cwrite command ?
...
Hi Steve and thank you for your interest,
I did what you suggested and it works, however it's still not working when "addr" is in a For-next loop.
I get the same results, maybe I'm missing...
To help you more this is what my programmer shows.
6759
If i try to read addr 3 of EEPROM, I actually read addr 8 and so on....
So the following command :
I2CRead memSDA,memSCL,$A1,3,[text]...
6757
I'm trying to upload here a blank hex file for 24LC256. Sorry if I post twice :o
If someone can populate addresses 0-5 and 8-13 with data to test with my code, if there is an editing problem...
Thanks for your comments,
right now I'm using the built in editor of my PICKIt2 programmer and I make changes.
It's still the same result, looks to me that I cannot read the first 3 memory...
Hello all,
I wonder if someone can help me with this problem.
I'm storing manualy some values to 24LC256 with an external programmer and editor like this :
:020000040000FA ...
I'm trying all morning and still no good results.
I tried your configs Robert and they do the same things as mine, at least I could't see any change.
I had only to remove ANSELD = 0 because...
Thank you very much for the configs. Still using the old style with underscores ? (Just kidding)...
I'm not sure about all the config parameters, but in my situation it's worth to give a try first...
Hello all,
i need your help to convert my code from basic stamp2 sx.
I'm trying to read the frequency of an ICOM shortwave receiver.
Here is my easy working basic stamp code :
' {$STAMP...