Im lost in only six lines of code, I type this on microcode/pbp2.46 (yes I set 16F628A in microcode studio)
ADCON0 = 1
lectura var byte
mainloop:
Adcin 0, lectura
Goto mainloop
End
and I get errors during compile.
Its been a while from my last programming, so maybe Im missing something obvious here.
I would appreciate a working example of ADC for this pic or for 18f pics
Thanks in advance