Go Down

Topic: integer limits (Read 1 time) previous topic - next topic

jdolecki

How do I set high and low limits or an Integer?

such as only count down to 1

and only count up to 8

retrolefty

Quote
How do I set high and low limits or an Integer?

such as only count down to 1

and only count up to 8


Nothing automatic that can do that. You can write if statements to test if your varialbles are in range or not, and take action to set them to another inrange value or not allow them to go outside your limits.

Lefty

robtillaart


check - http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1240359320
give it a try
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy