|
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
|
|
|
|