2 PWM demo with a logical analyzer
4 Connect pin ~11 to a logic analyzer and a multimeter
5 and witness the power of the built-in PWM generator.
7 BTW: Logic comes from: http://downloads.saleae.com/betas/1.1.34/Logic+1.1.34+(64-bit).zip
23 // Static test value, comment exit() or ad a delay()
24 //analogWrite(led, 0) ; // No light
26 //analogWrite(led, 254) ; // Full light
28 //analogWrite(led, 63) ; // 1/4
30 //analogWrite(led, 127) ; // 1/2
32 //analogWrite(led, 191) ; // 3/4
36 for ( c = 0; c < 255 ; c++) {