jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Consider renaming analogWrite() to pwm() or similar. #245

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What change would like to see?

We may want to rename analogWrite() to something that makes it clear that it's 
actually generating 
a PWM output.  Particularly if we ever moved to an AVR with an DAC, which did 
real analog output.  

Why?

So people understand what's going on.

Would this cause any incompatibilities with previous versions?  If so, how
can these be mitigated?

Yes. Everyone would have to rename analogWrite() to the new name.

Original issue reported on code.google.com by dmel...@gmail.com on 6 May 2010 at 6:28

GoogleCodeExporter commented 8 years ago
There are 77.100 votes against this : google "arduino analogWrite"
(>8000 on the forums alone). All the information linked to will be obsolete
immediatly and, since the Net never forgets, add some extra confusion for the 
novice.

analogWrite() on Arduino-0019 is PWM, on Arduino-0020 its a real DAC?

To me this looks like a bad bargain for some vague educational improvement.

Original comment by e.fa...@wayoda.org on 10 May 2010 at 4:08

GoogleCodeExporter commented 8 years ago

Original comment by dmel...@gmail.com on 7 Nov 2010 at 3:06