| | Sample Code Tim Brock
| | | 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 (...) (24 years ago, 15-Mar-01, to lugnet.robotics.handyboard)
| | | | | | | | Re: Sample Code Nicolas Delaporte
| | | | | 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)
| | | | | | |