Go Down

Topic: CORRECTION in the "continue" control structure in Arduino Reference material (Read 989 times) previous topic - next topic


In the reference material for continue control structure posted at URL - http://arduino.cc/en/Reference/Continue

In the example given in it, the code should not be digitalWrite() but should be analogWrite() instead.

Correction: digitalWrite(PWMpin,x) => analogWrite(PWMpin,x)


I think the example works (once LOW, 254 times HIGH), but it is wrong anyway.
My website: http://ried.cl

Go Up