Thank you SOOOOOOO much Steve!!!!!! This code is exactly what I need to make it work! My poor, unefficent code was doing the job, but this is so much cleaner and easier to use!
I defiantly have a lot of learning to do. This was my first attempt at writing my own program.
Also, with your version of this code I save nearly half the words!
I have been studying the way you have wrote this code and I dont understand how this line works. I understand what it does but not how. I am just curious on this one?
pb=(PORTB>>5)& 3 ' keep only PORTB.5 and PORTB.6 bits
Thanks,
Michael
Bookmarks