Re: Interesting result on a 16F688 with ADC and LCD
Code:
DEFINE LCD_DREG PORTC ' LCD Data bits on PORTC
DEFINE LCD_DBIT 2 ' PORTC starting address
DEFINE LCD_RSREG PORTC ' LCD RS bit on PORTC
DEFINE LCD_RSBIT 0 ' LCD RS bit address
DEFINE LCD_EREG PORTC ' LCD E bit on PORTC
DEFINE LCD_EBIT 1 ' LCD E bit address
Sorry I was in a hurry to leave, starting bit is 2.
(C2-5 - 11-14) corrected
Last edited by wdmagic; - 24th April 2013 at 22:53.
Chris
Any man who has accomplished anything in electronics at one time or another has said... " STOP! WAIT! NOOO! Dangit.... Oh Well, Time to start over..."
Bookmarks