devicescript
thinscript
Our great sponsors
devicescript | thinscript | |
---|---|---|
13 | 1 | |
3,195 | 1,353 | |
2.0% | - | |
9.6 | 10.0 | |
9 days ago | almost 8 years ago | |
TypeScript | C | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
devicescript
-
Introduction to hardware programming with DeviceScript
Hardware programming used to require you to learn C/C++. If you’re already familiar with JavaScript or TypeScript, you will be delighted to learn about DeviceScript, a TypeScript programming environment for microcontrollers. In this blogpost you’ll learn the basics of electronics and DeviceScript. We will create the “hello world” of programming: making an LED blink!
-
DeviceScript and LCD screens
This article shows how to use DeviceScript to program a microcontroller (ESP32-C3), a temperature/humidity sensor (BME680) and a LCD character screen to build a tiny weather dashboard. This project does not require soldering or embedded skills.
-
DeviceScript - Temperature + MQTT
DeviceScript brings JavaScript/TypeScript to tiny IoT devices such as the ESP32. DeviceScript provides a user friendly editing/debugging experience in Visual Studio Code.
- DeviceScript | TypeScript for Tiny IoT Devices
- Why Dynamic Memory Allocation Bad (for Embedded)
- Microsoft DeviceScript – TypeScript for Tiny IoT Devices
- DeviceScript: TypeScript for Tiny IoT Devices
thinscript
-
Microsoft DeviceScript – TypeScript for Tiny IoT Devices
These are far from perfect, but still something:
https://github.com/andrei-markeev/ts2c/
https://github.com/evanw/thinscript
If you aim for 32 bit microcontrollers then you can go with assemblyscript to wasm and then with wasm to C transpiller
What are some alternatives?
Sming - Sming - powerful open source framework simplifying the creation of embedded C++ applications.
ts2c - Convert Javascript/TypeScript to C
IntelliJ-Luanalysis - Type-safe Lua IDE — IntelliJ IDEA plugin
tinybasic - A BASIC interpreter for Arduino, ESP, RP2040, STM32, Infineon XMC and POSIX with IoT and microcontroller features.
lowjs - A port of Node.JS with far lower system requirements. Community version for POSIX systems such as Linux, uClinux or Mac OS X.
angular-web-bluetooth - The missing Web Bluetooth module for Angular
esp8266-react - A framework for ESP8266 & ESP32 microcontrollers with a React UI
nesper - Program the ESP32 with Nim! Wrappers around ESP-IDF API's.
rp2040js - A Raspberry Pi Pico Emulator in JavaScript
awayto - Awayto is a curated development platform, producing great value with minimal investment. With all the ways there are to reach a solution, it's important to understand the landscape of tools to use.