I downloaded the clockx.bas program from MELABS website and get the following errors when I try to compile.
error line 33: syntax error. (Line 33 is shown below)
OPTION_REG = $55 ' Set TMR0 configuration and enable PORTB pullups
Anyone know why?
I downloaded the clockx.bas program from MELABS website and get the following errors when I try to compile.
error line 33: syntax error. (Line 33 is shown below)
OPTION_REG = $55 ' Set TMR0 configuration and enable PORTB pullups
Anyone know why?
wich pic?
wich version: PICBASIC PRO or PICBASIC
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
There's no OPTION_REG register for those PIC. you'll have to open the 16F877 datasheet to know what it do, then translate it for the 18F252
Last edited by mister_e; - 7th September 2006 at 14:26.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks