Jump to content

Polari

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Polari

  • Rank
    Newbrie
  1. Hello, I've just started learning SourceBoostC. I did do some picbasic pro previously. Been looking around for a very simple example of using the ADC on the pic16f688. I would like to connect and read a potentiometer on pin AN0. I do know that I must config: trisa = 00000001b //make pin 13 (AN0) an input pin. ansel = 00000001b //make pin 13 (AN0) analog. What are the commands to read, etc. ? Thanks for any help or references, very much appreciated. Thanks again, Tony
×
×
  • Create New...