More ES6 API functions including Array.find, String.startsWith/endsWith/includes/repeat
Bluetooth LE boards now communicate over twice as fast, while going into an idle mode when not used and drawing significantly less power when connected.
Software Serial Transmit and Receive on any pin
Better vector font rendering
New Graphics improvements, including createImage for easy, readable 1bpp bitmaps, and .dump to output a copy of the current Graphics object as an image in the Web IDE console.
Lots of fixes, and extra checks added based on code fuzzing performed by a few different groups.
Improved Espruino API reference in many areas
You can now add extra code to be executed at boot as .boot0/1/2/3 in Storage
heatshrink library allows access to Espruino's built-in LZSS compression engine from JS
Doubled the IO buffer size on many boards (so FIFO_FULL errors are far less likely)
E.mapInPlace is now extremely powerful for quickly packing/unpacking bits in arrays
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Finally there's a new Espruino release - and it's a big one!
https://www.youtube.com/watch?v=YQtLmu8-aHw
Highlights
for(var i of array)
to iterate over elements.dump
to output a copy of the current Graphics object as an image in the Web IDE console..boot0/1/2/3
inStorage
heatshrink
library allows access to Espruino's built-in LZSS compression engine from JSE.mapInPlace
is now extremely powerful for quickly packing/unpacking bits in arraysFull Changes
ES5/ES6 features
Check current state at http://www.espruino.com/Features
Performance/Features
E.toJS
to allow very compact JS data stringification (similar toJSON.stringify
for JSON2)dump()
=undefined
to console if line is emptyE.mapInPlace
docs, and allow it to work with no map (eg pass straight through)Graphics
Flash Memory
require
Bluetooth Boards