Just as a reference, things I think we could add to a global Device (or maybe just HW for hardware?):
Device
HW
getFeatures()
And make it so you could extend it with JS - for instance to add a speaker to a Pixl or something like that.
@Gordon started
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.
Just as a reference, things I think we could add to a global
Device
(or maybe justHW
for hardware?):getFeatures()
- return a list of features the device hasAnd make it so you could extend it with JS - for instance to add a speaker to a Pixl or something like that.