Go Down

Topic: Wich programing language to learn (Read 7615 times) previous topic - next topic

tuxduino

(Hmm.. did I forget a couple of smileys in my last post ? Maybe...  :P )

terryking228

Quote
You're comparing two analog values, which could fluctuate by some units. If the test is done "fast", you can have flickering.
In fact your 1s delay between each run prevents this from happening even if you haven't any hysteresis


OK, thanks.. I agree that Hysteresis is the right practical approach here, I thought there was some other problem with the basic code construct...
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

Dadorcp

Thank you guyz for the links, its great to see your code and code comments. Thx for the offer to help with arduino once i start Terry, i will let you know when i get stuck, ty.

I see its quite important to write code efficiently. I've just finished Class and Variables with multiple parameters so i still got whole heap of stuff to learn, but now i will definitely give extra attention for writing code properly, and practice it from begining.


afridi11

the best language you should learn is c and c++. and if you are interested in computer programming. go for Java

Go Up