Go Down

Topic: How to read more Buttons than pins avaliable? (Read 2134 times) previous topic - next topic

Nick Gammon


Quote
Don't forget analogWrite Mike.

I have not, it dosn't change the fact that analogWrite produces a digital output not an analogue one.


Little jest there. :)
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

funkyguy4000

Wait AnalogWrite makes a digitalOut?  hahah uhhhh what?  WHY?
Thats so misleading!  So the arduino is only capable of reading analog inputs but can't drive anything that is analog.
wow
Accelerate to 88 miles per hour.

pekkaa


Wait AnalogWrite makes a digitalOut?  hahah uhhhh what?  WHY?
Thats so misleading!  So the arduino is only capable of reading analog inputs but can't drive anything that is analog.
wow


AnalogWrite outputs PWM signal. You can convert PWM to real analog output by adding a low pass filter. As I have seen someone here suggesting, analogWrite should really be called pwmWrite.

funkyguy4000

Hm, I never knew that.
Learn something knew each day.

here is an epic song that is totally unrelated
www.youtube.com/watch?v=eQWG8BVeryU&ob=av2e
Accelerate to 88 miles per hour.

AWOL

Quote
Hm, I never knew that. Learn something knew each day.

Useful resource regarding digital nature of analogWrite here
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up