PDA

View Full Version : Sleep time



suded
- 11th May 2005, 12:38
Hi all:
I'm trying to adjust the post scaler on 18F1220:
@__CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H
to get more realistic sleep interval.
The assembler is giving me an error (,)the comma seems to be an illegal symbol.
I'm using micro code stdio as IDE & MPASM.
Can anyone suggest why that's happening??

Bruce
- 11th May 2005, 14:59
Change


@__CONFIG_CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H

to

@ __CONFIG _CONFIG2H, _WDT_ON_2H & _WDTPS_512_2H


Note the spacing.

suded
- 11th May 2005, 21:06
Thanks Bruce I will try that