adcon0,adcon1


Closed Thread
Results 1 to 5 of 5

Thread: adcon0,adcon1

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    france
    Posts
    47


    Did you find this post helpful? Yes | No

    Default

    Hello


    This model melanie and I'll add my program routines.
    And I need to use the port and having output RA0 and RA1 RA2 RA3
    Input, and my question is about the ADCON registers?
    I do not configured.

    Thank you

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by jonas2 View Post
    Hello


    This model melanie and I'll add my program routines.
    And I need to use the port and having output RA0 and RA1 RA2 RA3
    Input, and my question is about the ADCON registers?
    <font color=red>I do not configured. </font color>

    Thank you
    Hello Jonas2,"I do not configured"means . . . you have changed from Melanie's code ?
    Anyway, to address your question, I hope. . .
    From the DATA SHEET:
    ADCON0 = %11000000
    bit 0 = 0 ADCON is turned off
    bit 1 = 0 unimplemented (not used) read as 0
    bit 2 = 0 A/D Go Done conversion not in progress
    bit 3 -5 = all zeros A/D channel select bits
    bit 5-7 = 11 FRC (clock derived from the internal A/D RC oscillator)

    ADCON1 = %00000111
    sets all ports to digital
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Feb 2006
    Location
    france
    Posts
    47


    Did you find this post helpful? Yes | No

    Default

    Hello

    Thank you for your help, I'll keep the program melanie.
    But I would like to change the initialization of the RTC, and to do so USArt
    Send frame by rs232.je seeks a routine as an example.

    Thank you

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