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?
Printable View
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
I am using the PIC 18f252-17SP and PIC Basic PRO
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