On Fri, 26 May 2006 22:03:01 -0700, Brooke Clarke wrote: >Hi: > >I'm trying to get Myke's 2-wire LCD interface working with a 16F88 and >4x20 LCD. >One of the debugging steps is to set _CONFIG1 to INTRC_CLKOUT both in >the code and in MPLAB v7.30 configure/configuration bits. >But when I put a scope on pin # 15 (RA6) there's no clock out, but there >are LEDs blinking etc that make be think the chip is doing something. >--snip-- > __CONFIG _CONFIG1, _CPD_OFF & _CP_OFF & _DEBUG_OFF & _INTRC_IO & >_LVP_OFF & _MCLR_OFF & _PWRTE_OFF & _WDT_OFF & _WRT_PROTECT_OFF & >_INTRC_CLKOUT > >--snip-- > org 0 > nop > nop > >; Now set 4 MHz clock > bsf OSCCON, IRCF2 > bsf OSCCON, IRCF1 > bcf OSCCON, IRCF0 > nop ; allow some time for oscillator to settle > nop >--snip-- >Any thoughts as the why there's no clock out? > The configuration term '_INTRC_IO' sets the pin that would normally be the clock out pin as an I/O pin. To see the clock on the pin, you'd need to use _INTRC_CLKOUT instead. Regards, Bob -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist