Pages: 1 [2]   Go Down
Author Topic: How to read more Buttons than pins avaliable?  (Read 1711 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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. smiley
Logged

Wisconsin
Offline Offline
Edison Member
*
Karma: 4
Posts: 1001
I LOVE THIS STUFF!!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Accelerate to 88 miles per hour.

Finland
Offline Offline
Sr. Member
****
Karma: 1
Posts: 270
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Wisconsin
Offline Offline
Edison Member
*
Karma: 4
Posts: 1001
I LOVE THIS STUFF!!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

here is an epic song that is totally unrelated

Logged

Accelerate to 88 miles per hour.

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 291
Posts: 25850
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Hm, I never knew that. Learn something knew each day.
Useful resource regarding digital nature of analogWrite here
Logged

"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.

Pages: 1 [2]   Go Up
Jump to: