0

PWM
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

PWM

by magician13134 on Thu Nov 01, 2007 9:52 pm

Ok... I'm a little confused about PWM.... in this example:
http://www.arduino.cc/en/Tutorial/Fading

Is the light actually dimming or does it just APPEAR to be because it's blinking so fast?

Why can I only do it on some pins?

Is this the same method in the code for dithered images/Knight Rider effect on the MiniPOV?


Thanks!
magician13134
 
Posts: 1119
Joined: Wed Jun 13, 2007 9:17 am
Location: Ann Arbor

by adafruit on Thu Nov 01, 2007 11:31 pm

1. it only appears to be
2. it uses special chip hardwar
3. probably not, see #2

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

by magician13134 on Fri Nov 02, 2007 6:34 am

So digital is just On or Off, but analog is... anything? Can you use the analog pins as outputs?
magician13134
 
Posts: 1119
Joined: Wed Jun 13, 2007 9:17 am
Location: Ann Arbor

by adafruit on Fri Nov 02, 2007 10:21 am

you probably want to post arduino questions to the arduino forum...i havent written a tutorial covering this material (yet)

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Please be positive and constructive with your questions and comments.