Timmoore47:
You will want to map port A and port B with the "symbol" command like:
Symbol PortA = 5
Then read it:
peek PortA,B0 'read PortA into Byte0 variable
If the LEDS are on port B, then map PortB with Symbol and Poke PortB,B0
Note the number of pins on PortA, you might not need to wire LEDs to all of port B.
Bookmarks