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 / 8336
8335  |  8337
Subject: 
Sample Code
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 15 Mar 2001 17:33:58 GMT
Viewed: 
1363 times
  
I am a beginner programmer, and I am having a little trouble getting
started. I have an analog input that I need to compare to some values stored
in memory.
If anyone has a similar program that I could reference, I would really
appreciate it. Or if someone could just steer me in the right direction.
Thanks. -TIM



Message has 1 Reply:
  Re: Sample Code
 
Here a fonction to read an analog port and compare it to two value. Entrie are the nummer of analog entrie (0..7). The function return 0 if lower than the first value, 1 if between the two and 2 if greater than the second. Comment and variable (...) (24 years ago, 15-Mar-01, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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