This project uses DeviceScript which provides a TypeScript experience for micro-controllers.
The best development experience is done through Visual Studio Cocde and the DeviceScript extension; but a command line tool is also available.
Container development (Codespaces, CodeSandbox, ...) is supported but connection to hardware (through Serial or USB) is not available. Simulators and compilers will work.
- install Node.js LTS using nvm
nvm install --lts
nvm use --lts
- install DeviceScript compiler and tools
npm install
- open the project folder in Visual Studio Code
code .
-
install the DeviceScript extension
-
open
main.ts
and click on the play icon to start the simulator