devicescript
devicescript copied to clipboard
TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
tends to land in generated code. ``` console.log( `Temperature: ${temperature.toFixed(2)}°C, Humidity: ${humidity.toFixed( 2 )}%` ) ```
``` const x = 1 x.toString(16) ```
Currently `setTimeout()`/`setInterval()` are implemented in DevS which is somewhat inefficient and cause the debugger to pause there. * [x] make sure `Halt` command stops on the next instruction when there...
Here's start of a very simple sample with input (sensor) and output (traffic light). ``` console.log("starting...") const temp = new ds.Temperature() const light = new ds.TrafficLight() temp.temperature.subscribe(async t => {...
Working from a newly created project, I try to connect to my feather board and get the following error. But the DeviceScript server does start, so the second time I...
should not block on write; like sending to a display
Read only json loaded directly from flash? - array of literals in flash? number[]
- Deploy a script from the cloud - Open sampleprj, src/main.ts - Hit "Run" button - Notice that the version is not updated.
The @devicescript/test uses a custom service, for which the client gets compiled to the spec file. However, this breaks reusability since compilation fails when trying to use this package from...
End-to-end write up about using a RP2040 to create a hid accessibilty device.