help with ad pic16f88


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jan 2013
    Posts
    8


    Did you find this post helpful? Yes | No

    Default Re: help with ad pic16f88

    Hi all, this code works with adc pic, thanks for your help,
    Greetings!

    DATO VAR BYTE
    CMCON=7
    DEFINE ADC_BITS 8
    DEFINE ADC_CLOCK 3
    DEFINE ADC_SAMPLEUS 50
    ANSEL=%0100000
    LED VAR PORTB.0
    HIGH LED
    PAUSE 100
    LOW LED
    PAUSE 200
    INICIO:
    ADCIN 5,DATO
    LCDOUT $FE,$C4,DEC dato
    PAUSE 300
    GOSUB INICIO
    END

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,159


    Did you find this post helpful? Yes | No

    Default Re: help with ad pic16f88

    You probably want GOTO, not GOSUB.

    Robert

Similar Threads

  1. ISD17240 on PIC16F88
    By drewcog in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 17th December 2008, 20:07
  2. Pic16f88
    By nonny in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 20th November 2007, 14:10
  3. Pic16f88
    By jcleaver in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 28th March 2007, 22:27
  4. Pic16f88
    By Maurice in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th November 2005, 21:46
  5. Pic16f88
    By Maurice in forum General
    Replies: 3
    Last Post: - 19th May 2005, 20:35

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