To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 6817
    Re: Analog I/O as Digital I/O —Will Hein
   (...) Since the analog inputs read voltage levels, you should be able to just plug in any switch or 5-0volt input directly. To read the values, use the analog command, and in theory you should only get two possible values, 255 for +5volts, and 0 for (...) (25 years ago, 27-Sep-99, to lugnet.robotics.handyboard)
   
        Re: Analog I/O as Digital I/O —Michael N Rosenblatt
   Also, the "digital(int p)" extends to the analog ports too. When used with a port that is analog in hardware, it just uses 127 as a threshold value to return 1 or 0 (note below 127 returns true). See page 22 in the HB manual. However, with this (...) (25 years ago, 27-Sep-99, to lugnet.robotics.handyboard)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR