1v62 : Added ArrayBufferView functions as per ES6 spec (fix #310)
Added Graphics.setRotation (fix #321)
Added Graphics.drawImage (fix #198)
Added E.toArrayBuffer for fast string->array conversion
Accessing an undefined array/object element now doesn't create it (fix #63)
Fix fs.unlink returns true if the file does not exist (fix #331)
Try and improve timer overlays by reordering the alternate function list
Ensure that PWM output doesn't enable negated/non-negated outputs when it doesn't have to
Improve console performance when sending long strings
Initialise Graphics flags Graphics.createCallback - could have caused all kinds of issues
Now make setInterval > 5s less accurate when setDeepSleep is on (saves ~0.5 sec of non-sleep time)
Fixed problem when accessing an array with a string in a variable
Fix issues with `"0" in {0:1}` (and hasOwnProperty)
Improved interpolate function, and moved it out of ArrayBufferView into E
Fix Problem with Object.keys on a string (fix #347)
Fix assert fail when deleting a property that doesn't exist (fix #344)
Ensure that dump remembers function names if they were in the root scope (fix #338)
Fix memory leak in fs.readdir
Ensure that abbreviations in console's '=...' output appear on newline if needed
Add String.replace (fix #334)
Make Graphics.drawImage draw bottom line of pixels (fix #329)
Add Array.shift/unshift (fix #342)
Fix Defining function after return causes error (fix #326)
Fix deleting the last element in array (fix #346)
More helpful I2C error messages (fix #10)
Fix overriding built-in functions (fix #202)
Add ES6 Array.prototype.fill (fix #317)
Modified jsiQueueObjectCallbacks (and Object.emit) to support >2 args
Added support for SPI LSB-first
WIZnet improvements (specifically on HTTP server)
Added WLAN.setIP for CC3000
Fix String.split issue with last element (fix #352)
Remove order warning for SPI if no order given (fix #353)
process.env will now contain the git commit
Move setInterval/Timeout implementations into jswrap_interactive (makes more sense)
Add setWatch warning if it's not possible (fix #337)
Also updated the website with a bunch of contributions I've had over the last week, including @mgg1010's Date/Clock module, a MPL115A2 module, a Midi module, and a Sharp Memory LCD module.
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.
Now out! A bunch of new features and fixes:
Also updated the website with a bunch of contributions I've had over the last week, including @mgg1010's Date/Clock module, a MPL115A2 module, a Midi module, and a Sharp Memory LCD module.