And the answer is....
Mypin var Portb.6
Report var byte
Report = 48 + (Mypin ^ 1)
There is NO need to be changing variable types. Mypin just needs to be inverted. So why not invert it as if it is a bit. Wow all of this typing for something so simple......




Bookmarks