Skip to content

Tools/utilities for accessing Espruino devices from websites

Notifications You must be signed in to change notification settings

asterics/EspruinoWebTools

 
 

Repository files navigation

Adaptions in this fork: changed uart.js to be usable for both Bluetooth and Serial connections, without user selecting the connection type. See demo of adapted uart.js.

EspruinoWebTools

Tools/utilities for accessing Espruino devices from websites.

Read me on GitHub.io

uart.js

Super-simple library for accessing Bluetooth LE, Serial and USB Espruino devices straight from the web browser.

UART.write('LED1.set();\n');

imageconverter.js

Library to help converting images into a format suitable for Espruino.

var img = document.getElementById("image");
var jscode = imageconverter.imagetoString(img, {mode:"1bit", diffusion:"error"});

try out:

heatshrink.js

JavaScript port of the heatshrink library for use with the heatshrink compression library inside Espruino.

var data = new Uint8Array(...);;
var compressed = heatshrink.compress(data);
data = heatshrink.decompress(compressed);

puck.js

Super-simple library for accessing Bluetooth LE. It's recommended you use uart.js now as it supports more communication types.

Puck.write('LED1.set();\n');

try it out

About

Tools/utilities for accessing Espruino devices from websites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%