All Projects → microsoft → jacdac-ts

microsoft / jacdac-ts

Licence: MIT License
Jacdac TypeScript library

Programming Languages

typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to jacdac-ts

Diozero
Java Device I/O library that is portable across Single Board Computers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
Stars: ✭ 167 (+882.35%)
Mutual labels:  serial, i2c
pigpio-client
A nodejs client for pigpio socket interface.
Stars: ✭ 24 (+41.18%)
Mutual labels:  serial, i2c
Johnny Five
JavaScript Robotics and IoT programming framework, developed at Bocoup.
Stars: ✭ 12,498 (+73417.65%)
Mutual labels:  serial, i2c
Arduino
C# .NET - Arduino library supporting simultaneous serial ASCII, Firmata and I2C communication
Stars: ✭ 130 (+664.71%)
Mutual labels:  serial, i2c
SerialTransfer
Arduino library to transfer dynamic, packetized data fast and reliably via Serial, I2C, or SPI
Stars: ✭ 273 (+1505.88%)
Mutual labels:  serial, i2c
u8g2-arm-linux
U8g2 for arm linux - a monochrome graphics library
Stars: ✭ 37 (+117.65%)
Mutual labels:  i2c
arduino-sps
Arduino library for Sensirion SPS30
Stars: ✭ 36 (+111.76%)
Mutual labels:  i2c
ESP32-3DPrinter-Bridge
A network <=> ESP32 <=> USB (FTDI) <=> 3D printer Bridge
Stars: ✭ 30 (+76.47%)
Mutual labels:  serial
i2c-exp-driver
Driver to program I2C based Onion Expansions
Stars: ✭ 33 (+94.12%)
Mutual labels:  i2c
termission
Cross-platform Serial (COM Port) / TCP Terminal with Scriptable Auto-Response
Stars: ✭ 39 (+129.41%)
Mutual labels:  serial
pySerialTransfer
Python package to transfer data in a fast, reliable, and packetized form
Stars: ✭ 78 (+358.82%)
Mutual labels:  serial
sack.vfs
Node addon which adds a virtual file system interface; websockets; json(6) parsing; sql support(sqlite,odbc); javascript sched_yield; ssl certificate generation; more...
Stars: ✭ 29 (+70.59%)
Mutual labels:  serial
embedded-sps
Embedded i2c Driver for Sensirion Particulate Matter Sensors - Download the Zip Package from the Release Page
Stars: ✭ 36 (+111.76%)
Mutual labels:  i2c
PCF8575 library
Library to use i2c digital expander with arduino, esp8266 and esp32. Can read write digital value with only 2 wire (perfect for ESP-01).
Stars: ✭ 28 (+64.71%)
Mutual labels:  i2c
i2c-swift-example
Use I2C bus device with Swift
Stars: ✭ 19 (+11.76%)
Mutual labels:  i2c
NR1-UI
Userinterface for Volumio (RaspberryPi) with ssd1322 and ssd1306 oled display, spectrum bargraph, progress bar, LED functions, Standby-functions, 4 Buttons and Rotary Encoder.
Stars: ✭ 29 (+70.59%)
Mutual labels:  i2c
nextion
Nextion serial client
Stars: ✭ 14 (-17.65%)
Mutual labels:  serial
MCP7940
Arduino Library to access the MCP7940M, MCP7940N and MCP7940x Real-Time chips
Stars: ✭ 29 (+70.59%)
Mutual labels:  i2c
yahdlc
yahdlc - Yet Another HDLC implementation
Stars: ✭ 47 (+176.47%)
Mutual labels:  serial
embedded-ccs811-rs
Platform agnostic Rust driver for the CCS811 ultra-low power digital gas sensor for monitoring indoor air quality
Stars: ✭ 12 (-29.41%)
Mutual labels:  i2c

Jacdac for JavaScript/TypeScript

Jacdac is a plug-and-play hardware/software stack for microcontrollers and their peripherals (sensors/actuators), with applications to rapid prototyping, making, and physical computing.

Partner Preview: Jacdac is currently in preview. If you would like to join as a pre-release test partner, please email [email protected].

This repository contains a TypeScript/JavaScript client library for the Jacdac protocol.

The rest of this page is for developers of the jacdac-ts library.

Developer setup

  • clone this repository and pull all submodules
git clone https://github.com/microsoft/jacdac-ts
git submodule update --init --recursive
git pull
  • install node.js
  • install yarn
npm install -g yarn
  • install dependencies
yarn install --frozen-lockfile

Visual Studio Code

You are welcome to use any editor you want! Visual Studio Code provides seamless support for git sub-modules and is our preferred editor.

code .
  • install the recommended extensions (MDX, ESLint and Prettier extensions)
  • in the Git view, click on the jacdac branch and select main so that changes are automatically synched

Build

To have a watch developement,

yarn watch

otherwise to build all libraries

yarn dist

Specs build

To regenerate the service definition JSON files from the .md files in jacdac-spec, run

yarn buildspecs

Unit tests

We use Mocha to run the unit test suite from /tests. To execute the tests,

yarn test

Linting

Run the following command to detect linting issues

yarn lint

Jacdac + MakeCode

Local build

Run this command to rebuild the makecode packages

yarn buildpxt

HTML Tools

Launch a small web server and try all the tools under /tools/* at http://localhost:8080/tools . These tools load the files under dist so you'll want to also run yarn watch on the side.

yarn tools

These tools are also available on the GitHub pages of this repository:

Experimental...

Commits create releases

The releases are automatically created by the build system based on the title of the commit:

  • patch:... or fix:... patch
  • minor:... or feature:... minor

Microsoft Open Source Code of Conduct

This project is hosted at https://github.com/microsoft/jacdac-ts. This project has adopted the Microsoft Open Source Code of Conduct.

Resources:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].