February 2015
Beginner
206 pages
4h 16m
English
The most valuable part of this example is not its physical part but its logical one, and I'll show you the associated functions to deal with analog outputs and a very important control structure in any programming language called a for loop in the code we will be using for this circuit.
Dealing with analog outputs from the programming side is just a matter of using the analogWrite() function, which, as its name implies, writes an analog value through a pin.
It takes two parameters, similar to the digitalWrite() function:
Read now
Unlock full access