Don't worry Darrel.. there's a mix of 2 PICBASIC compiler in there...
not valid in PBP neither in PROTON
Code:
DEFINE osc 4 ' 4 MHz oscillator
DEFINE ADC_BITS 8 ' Set A/D for 8-bit operation
DEFINE ADC_CLOCK 1 ' Set A/D clock Fosc/8
DEFINE ADC_SAMPLEUS 50 ' Set A/D sampling time @ 50 uS
PBP
Code:
Dim digit As Byte 'input variable for GETMASK subroutine
.
.
.
.
Proton
Code:
PAUSE 250 ' Wait .5 second
PBP native but now accepted by PROTON with a warning... well the last time i used it
Now Mastero is on PROTON forum with the same code...
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks