devicescript
devicescript copied to clipboard
TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
** Device description ** A classic 7segment display ** Datasheet, firmware, etc... ** Unclear if there is a standard i2c interface for those. Maybe start with a low level driver...
** Device description ** Popular sonar to measure distance ** Datasheet, firmware, etc... ** https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf
** Device description ** Popular temp/humidity sensor ** Datasheet, firmware, etc... ** https://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.pdf
** Device description ** Popular LCD character display ** Datasheet, firmware, etc... ** https://www.waveshare.com/datasheet/LCD_en_PDF/LCD1602.pdf
Finish Array object implementation. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array Guide: https://microsoft.github.io/devicescript/contributing#add-core-javascript-apis
Create a private MQTT server on hivemq Pick a username/password Try to connect using mqtt library in simulator -> fail Try on esp32: success ```ts import { connectMQTT } from...
TypeScript 5.2 introduces a `using` keyword which would be quite interresting for resource constrained devices.
Did some evaluation and fiddling with DeviceScript on a couple of ESP32 and ESP32-C3 boards. Upon testing the fetch API I noticed that the supported cipher suites compiled into mbedTLS...
swap fast between main.ts and dummy.ts cli gets lost
list/listKeys/clear not implemented in jacdac-c?