You're still lucky that something work
Datasheet, Register 19-2: ADCON1
ADCON1=$0F
You're still lucky that something work
Datasheet, Register 19-2: ADCON1
ADCON1=$0F
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thank you Mister e, but the problem persist![]()
I also tried with DBits on portA (setting the ADCON0.0 register to 0), but nothing...
ADCON0 have nothing to do with this.. ADCON1 and probably CMCON have something to do with PORTA
Hehe Even if i doubt it cause you a problem...
there's a typo error. BTW 4 bit mode is the default, you can remove that lineCode:DEFINE LCB_BITS 4
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
How about if your write to two last lines before? Problem is still the same?
Can you add some Pauses between each of your LCDOUT to see what's happen?
What happen when you increase the LCD_DATAUS value to let's say 200?
Last edited by mister_e; - 3rd June 2006 at 23:09.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Yes, problem is the same but after change my 20MHz osc configured in HS mode with a 10Mhz configured in HSPPL mode it works fine... but why?
changed lines:
DEFINE OSC 40
@ __CONFIG _CONFIG1H, _OSC_HSPLL_1H & _FCMENB_ON_1H & _IESOB_ON_1H
Reuse the 20MHZ crystal and remove capacitor around. What happen?
Keep wire as short as possible. It's often a ProtoBoard capacitance.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I tried to reuse 20MHz crystal osc without capacitators, but the problem is the same! I would try with another type of 18F pic's series, but I haven't one! With 10MHz osc and ppl mode on all is ok![]()
Bookmarks