Looking at your code, I guess it's your first program, There's quite a few mistakes in and it is also hard to follow what you want to do.
No problem, been there...done that. Tell us what you want to do and we could build something to help you to get started.
Tell us the PIC your're using and post your schematic if you have any, or describe it.
Bookmarks