pages
compiler
electronics
laboratory
Processing
Theremino
logggin
candela
introduction
This function write an analog value to a pin. Can be used to light a LED at varying brightnesses or drive a motor at various speeds. This function works on pins 3, 5, 6, 9, 10, and 11
Here we simulate a candle flame.
program
algorithm
attrezzaggio
pin3˜ 
_ledgiallo
variabili
vauleX = 0
ciclo

the variable
vauleX becames equal to a casual number included between
0 e
255

MODULATION
_ledgiallo 
to the value:
vauleX

wait
50 milliseconds
Arduino code
electrical connections