What version of PBC are you using? It compiles fine with v1.45.
Can you compile any of the examples in the SAMPLES folder that
poke values to TRIS registers?
What version of PBC are you using? It compiles fine with v1.45.
Can you compile any of the examples in the SAMPLES folder that
poke values to TRIS registers?
Hello Stargazer
what should this code do?
Are you looking for how to display the outputs from PORTB connected with LEDīs?
My compiler returns an error too.
Maybe this one will help you
Code:TRISB = 0 B0 VAR BYTE Loop: FOR B0 = 0 TO 255 PORTB = B0 PAUSE 250 NEXT B0 GOTO Loop END
Last edited by Robson; - 21st August 2007 at 11:11.
Thanks!
I am just trying to troubleshoot my compiler - picbasic ver1.41.
I noted from the ME labs website that the PEEK and POKE were added on version 1.20, so they should be working on my version. I do not see any syntax error or typos.
Version 1.41 is fairly old. Look at this page to see if the PIC you're compiling for is supported
by version 1.41: http://www.microengineeringlabs.com/...pgrade.htm#pbp
If not, that's probably the error.
Bookmarks