Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johntalton/excamera-i2cdriver
EXCamera Labs I2CDriver
https://github.com/johntalton/excamera-i2cdriver
bitbang capture excamera i2c i2cdriver i2cdrivermini monitor usb webserial
Last synced: 1 day ago
JSON representation
EXCamera Labs I2CDriver
- Host: GitHub
- URL: https://github.com/johntalton/excamera-i2cdriver
- Owner: johntalton
- License: mit
- Created: 2022-02-26T22:24:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-27T06:27:08.000Z (5 months ago)
- Last Synced: 2024-06-27T07:39:18.033Z (5 months ago)
- Topics: bitbang, capture, excamera, i2c, i2cdriver, i2cdrivermini, monitor, usb, webserial
- Language: JavaScript
- Homepage:
- Size: 103 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# excamera-i2cdriver
[![npm Version](http://img.shields.io/npm/v/@johntalton/excamera-i2cdriver.svg)](https://www.npmjs.com/package/@johntalton/excamera-i2cdriver)
![GitHub package.json version](https://img.shields.io/github/package-json/v/johntalton/excamera-i2cdriver)
![CI](https://github.com/johntalton/excamera-i2cdriver/workflows/CI/badge.svg)
![GitHub](https://img.shields.io/github/license/johntalton/excamera-i2cdriver)
[![Downloads Per Month](http://img.shields.io/npm/dm/@johntalton/excamera-i2cdriver.svg)](https://www.npmjs.com/package/@johntalton/excamera-i2cdriver)
![GitHub last commit](https://img.shields.io/github/last-commit/johntalton/excamera-i2cdriver)Excamera labs I2CDriver
Provides a JavaScript API for the i²c driver. Works well in the browser via [SerialPort](https://developer.mozilla.org/en-US/docs/Web/API/SerialPort)
# Capture Mode
Capture mode is supported via function generator stream.
The `eventStreamFromReader` factory can be called with a `ReadableStream` to create state-machine stream that will `yield` the i²c events.
This can be used to replicate the excameras native visualization as the raw date is provided for each event. (alternatively constructing a function generator from lower level components)