Well, if you have any specific requirements for frequency then I'd just do something like analogWrite(A0, 0.5, {freq:10000}) rather than relying on default values.
And you know there are two proper analog DAC outputs on the chip as well?
By the way, you can get something like a DSO Nano for around £40 now if you want a cheap way to look at signals. I use an HPS140 which is quite similar, and often pull it out in preference to a proper bench scope if I need to check something quickly.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Well, if you have any specific requirements for frequency then I'd just do something like
analogWrite(A0, 0.5, {freq:10000})
rather than relying on default values.And you know there are two proper analog DAC outputs on the chip as well?
By the way, you can get something like a DSO Nano for around £40 now if you want a cheap way to look at signals. I use an HPS140 which is quite similar, and often pull it out in preference to a proper bench scope if I need to check something quickly.