A/D converter PIC16F1827


Results 1 to 9 of 9

Threaded View

  1. #4
    Join Date
    Sep 2009
    Posts
    23


    Did you find this post helpful? Yes | No

    Default Re: A/D converter PIC16F1827

    mpgmike Thank you very much
    Can you tell me how I will get a 10-bit price in the baty variable

    my programm
    Code:
    baty var word
    
    arxh:
    
    ADCON0 = %00000011
    DO
    LOOP WHILE ADCON0.1 = 1
    adcin 0,baty 
    
    if baty > 1050 then 
    gosub OK
    endif
    
    if baty < 1000 then 
    gosub noOK
    endif
    
    goto arxh
    Last edited by dovegroup; - 19th December 2017 at 09:02.

Similar Threads

  1. Replies: 3
    Last Post: - 22nd March 2013, 00:37
  2. A/D converter sample
    By allan josephus in forum mel PIC BASIC
    Replies: 5
    Last Post: - 23rd February 2008, 19:44
  3. Step up converter
    By Ron Marcus in forum Off Topic
    Replies: 1
    Last Post: - 27th July 2006, 20:44
  4. A/D converter
    By rocky79 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 1st October 2005, 06:40
  5. help D/A converter
    By matelda in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th September 2004, 17:25

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