News for hackers. Stuff that matters.
Re:Arduino TRE by exDM69 on Saturday April 04, 2015 @11:40AM (#9321111)
PWM is useful because that can be used to drive servo motors and brushless DC motor controllers and other gadgets. It can't be easily replaced with analog output, e.g. from audio ports. OTOH, audio ports are a lot more useful if you need actual analog output.
Re:Arduino TRE by Sanddancer on Saturday April 04, 2015 @01:46PM (#9321533)
PWM could be done with an op amp, a triangle wave generator, and a handful of discrete components. It's how the front-end of a Class D amp works. Would definitely be more of a pain in the butt than having pwm ports directly, though.