20
20
The tension that we are going to pull from outputt 10 (analog type PWM) will
vary on way to ramp up and down cyclically. We get this effect with a structure
for type:
for(value = 0; value <= 255; value +=5) (ascending)
for(value = 255; value >=0; value-=5) (descending)
Note that increases in the voltage value range from 5 at 5 and we have to
consider that 0v equals 0 and 5v is equivalent to 255.
Analog-value