analogWrite for Arduino

Hello,

Could anyone help me with when analogWrite would be available for Arduino?

Are there any plans to support analogWrite ?

Best Regards,

image001.jpg

image003.png

Dear Sangeeta, in RIOT there is no such thing as analogWrite. Check out the PWM module [0] of RIOT for the same functionality.

Regards Robert

[0] https://riot-os.org/api/group__drivers__periph__pwm.html

Thanks Robert !

Best Regards, Sangeeta

Hi Sangeeta,

We recently added support for the analogWrite function in RIOT wrappers for Arduino API.

See [1] for how to use this function in an example sketch.

Hope this helps,

Alex

[1] https://github.com/RIOT-OS/RIOT/tree/master/tests/sys_arduino_analog

image001.jpg

image003.png

Dear Alexandre,

Thanks for this information J

image001.jpg

image003.png

image001.jpg