<table><tr><td>
</td><td>
Code:
IF volt "<" oldvolt THEN
well unless we don't use the same compiler, it must return a syntax error as well
</td></tr></table>
Code:
If something=something_else then Label
is the same thing as
Code:
If something=something_else then
goto Label
endif
At least here... so that's weird.
Code:
DEFINE ADC_SAMPLESUS 50
the only valid syntax i know is
Code:
DEFINE ADC_SAMPLEUS 50
Yeah, it doesn't return any syntax error... it's just ignored. Fortunately there's some default value 
pbppic14.lib
Code:
;****************************************************************
;* Default Adcin values *
;****************************************************************
ifndef ADC_BITS ; ADC number of bits
ADC_BITS EQU 8
endif
ifndef ADC_CLOCK ; ADC clock source = rc
ADC_CLOCK EQU 3
endif
ifndef ADC_SAMPLEUS ; ADC sample time in microseconds
ADC_SAMPLEUS EQU 50
endif
Bookmarks