When using a small frequency value
with analogWrite(pinString, dutyCycle, frequencyHz, callback)
,
the following error can be thrown.
var b = require('bonescript');
b.pinMode('P9_14', b.OUTPUT);
b.analogWrite('P9_14', 0.5, 10, function(res) { console.log(JSON.stringify(res)); });
info: Unable to update PWM period, period is set to 100000000
Is other half of PWM enabled?
I haven't figured out how to reset it yet so I just run reboot
or reset the device via the on-board button.
Have you solved this problem? I also have this bug.