Interesting result on a 16F688 with ADC and LCD


Results 1 to 19 of 19

Threaded View

  1. #11
    Join Date
    Dec 2012
    Location
    Tennessee
    Posts
    262


    Did you find this post helpful? Yes | No

    Default 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..."

Similar Threads

  1. Converting 10bit ADC result to 8 bit
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 5th March 2012, 20:38
  2. Timer0 Reload based on ADC result
    By Cyborg in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 22nd February 2011, 07:11
  3. Replies: 2
    Last Post: - 22nd January 2011, 01:58
  4. 16f688 Adc
    By PICante in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 23rd August 2008, 10:34
  5. PBP 16-bit ADC result math
    By sonic in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 13th March 2005, 14:21

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts