Hi guys ,
I am trying to get Pulsin to work on PORT F and Port G , but i cant get anything on it , tried on 3 chips so its got to be code related
this test code works on the other ports A-E but not on F and G
I test each port bit for pulsin command on port F,G but nothing , is there port limitation on Pulsin ??
i know port F,G are not in mem bank 0 as with ports A-E , but did not think that would be an issue
this has me stumped
cheers
Sheldon
Code:
Main:
ANSELF = $00 ' Set Port F - Digital I/O , 0 = Digital 1 = Analog
TRISF = $FF ' else IR-RX ( ports input)
pulsin PORTF.0,1,Leader
write $10,Leader.highbyte
write $11,Leader.lowbyte ' debug
pause 1000
Goto main
Bookmarks