A to D on the PIC16F687


Results 1 to 16 of 16

Threaded View

  1. #14
    Join Date
    May 2006
    Posts
    36


    Did you find this post helpful? Yes | No

    Default

    This somewhat works but I need to work through a way that it will display the value, 2.004 instead of 2.4 because the way I did it is with W0 = 5*AD_Value (AD_Value could be 0 to 1023). Then I did:
    AD_VALUE_HIGH = W0 / 1023
    AD_VALUE_LOW = W0 / 1023

    THEN LCDOUT, $FE, $C0, #AD_VALUE_HIGH, ".",#AD_VALUE_LOW, "VDC"

    I am not sure what you meant by using the DIV32 command. Can you please explain more? Thanks.

    Josh
    Last edited by jblackann; - 5th July 2006 at 14:48.

Similar Threads

  1. LCD with PIC16F687
    By jblackann in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th June 2006, 23:16
  2. PIC16F687 - supported?
    By badcock in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 6th August 2005, 10:33

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