Shop OBEX P1 Docs P2 Docs Learn Events
ADIN (Help!) — Parallax Forums

ADIN (Help!)

looonylooony Posts: 1
edited 2008-10-31 16:46 in General Discussion
Hi! I'm trying to make ADIN work with my Atom Pro 24-M. I have a potentiometer that feeds it O.1V to 5V, have connected it to pin 2 (tried pin 0,1,2,3)

hell var word
ADIN 2,hell

debug [noparse][[/noparse]dec hell,13]

What happens is I can never sem to get the value of my variable 'hell', it seems to be really large, can someone please help me? What code is needed to give me a friendly number to work with in the end?? many many thanks,

Peter

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-10-30 17:58
    Can't help you. An Atom Pro 24-M is not the same as a Basic Stamp. Try Basic Micro's website.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-10-31 16:46
    This message is off topic in the BASIC Stamp Forum and is being moved to the Sandbox Forum.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
Sign In or Register to comment.