Micropython pyboard - wipy2 differences
riklaunim last edited by
I got WiPy2, I updated the firmware and ended up with Micropython 1.8.*. I wanted to compare DAC audio playback with the STMF4 pyboard so I tried to copy-pasted the code. There were some small import differences - but the biggest one is on the DAC module - it doesn't have write_timed method while it's on the vanilla MicroPython/pyboard (pyb.DAC).
Why such differences exist? and are there options to implement audio playback on WiPy? I assume some timer would have to be user to write to DAC at given frequency (1/sampling rate delay and float values from 2^8 / int audio value)