Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.83 KB

README.md

File metadata and controls

58 lines (38 loc) · 1.83 KB

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