Espruino 1v92 released #136
Replies: 9 comments
-
Posted at 2017-04-20 by MobiTech Does the Puck support Central/Peripheral mode? I have read that there are some problems connecting Android devices because they do not support Central mode. Could the Puck work as a Gatt Server and is further configuration required? That should allow more compatibility. A nice update, really interesting functions. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-04-20 by @gfwilliams Yes, Puckjs will do both. When you connect to Puck.js to program it Puck.js is being a GATT Server. It'd be worth checking out the Puck.js Bluetooth LE intro for more information: http://www.espruino.com/About+Bluetooth+LE If you have other general questions about Puck.js, please can you ask them in a separate thread though? It'll help to use this one purely for questions about the 1v92 release itself. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-04-21 by MobiTech Thank you. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-05-08 by ConorONeill I've just tried this update from both nRF Toolbox and nRF Connect on Android and in both cases it results in Puck.js flashing all three LEDs. I can't connect any more. Am I missing something obvious? I've tried various sequences of battery/button but to no avail. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-05-08 by @gfwilliams Had you upgraded from a 'beta' firmware (eg, not just 1v91)? Please could you try this? http://forum.espruino.com/conversations/303637/#13590078 So downgrading to 1v91 and the running those commands to clear out some of the other flash memory |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-05-08 by ConorONeill Thanks Gordon. I'm pretty sure I was on stock 1v91. I followed your steps above and it's working fine now. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-05-09 by @gfwilliams Great, thanks! Glad you got it sorted! Very strange though - I tested the upgrade from 1v91 every way I could think of before the release. If anyone else has this problem, please can they let me know? We could try and dump the contents of Flash so I can figure out what happened. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-06-16 by Boydy I had the 3 light issue with this code loaded going from 1v91 -> 1v92 if that helps:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-06-16 by @gfwilliams Please can we stick to discussing this on your original post? http://forum.espruino.com/conversations/306396/#comment13693521 |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-04-19 by @gfwilliams
I've just released 1v92 - it's been a while coming, but there are now a huge amount of new features:
Added
Pin.toggle()
, eg.LED1.toggle()
Added DataView class
Add Neopixel/WS281x/APA10x LED writing with require("neopixel").write - works on pretty much all devices
A few fixes for potential crashes
Fixed implicit casting to bool/number on ArrayBuffers (Does pinMode 'input' state place pin in tri-state mode for SPI multi device connectivity? #1030)
Fix E.FFT output (enable magnitude when one array specified)
JSON.parse now throws an exception if an incorrect value type is found (fix patreon sign did not appear under the avatar #1117)
Pipe close event handlers now use 'this' arg - solves auto-closing pipe when piping from HTTP
Increase max graphics size from 1023 to 32767
Add Fat File System support to ESP32
Fix File.read so that end of file triggers pipe.end event
Fix precedence of 'void' keyword (Cascading Max7219 #1079)
Pico/WiFi: Allow USB HID to work on Windows (from @nailxx)
Puck.js: Now use 'high drive' mode for GPIOs - provides much more power output on pins
Puck.js: tweak IR duty cycle, with high drive GPIO the Infrared range is now ~3x more
Puck.js: Allow Puck.IR to take pins for an external IR LED (Capturing multiple IR Codes #927)
Puck.js: Allow arbitrary NFC data to be specified (Programming the Ublox NEO-6M GPS configuration - is this possible? #1021)
Puck.js: Allow multiple advertising packets to be set at once with NRF.setAdvertising
Puck.js: Add 'properties' object to BluetoothRemoteGATTCharacteristic
Puck.js: Perform BLE write without response if that is what is required
Puck.js: Add BluetoothRemoteGATTCharacteristic.startNotifications (Spike free switching of pin mode from input to output #959)
Puck.js: Added BluetoothDevice.gattserverdisconnected event
Puck.js: Report back reason codes for BLE disconnect
Puck.js: char.readValue now returns DataView to be more Web Bluetooth compliant (Active BLE connections within Home Assistant? #1091)
Puck.js: Respond to conn_params update request, fix puck-puck disconnection after ~65 sec (Serial vs IDE Console #1089)
Puck.js: Change connection params for central mode so NRF.setLowPowerConnection affects connection speed
Puck.js: Correct reading if using analogWrite to red LED and then using Puck.light()
Puck.js: stop app_timer NRF_ERROR_INVALID_PARAM errors (trying to sleep for too little time)
Puck.js: Don't get stuck in 'HID Busy' state if a HID send failed
Puck.js: Allow services to be advertised (fix 433MHz RF communication module #996)
ESP8266: Add Wifi.setAPIP() and Wifi.setIP
ESP8266: Add i2c clock stretch (Have we lost WebIDE with TCP/IP? No, there is a workaroud #1097)
ESP8266: Add ESP8266.deepSleep(micros, option) (When is the next video chat? #1102)
It's available from the usual places - if you have an official Espruino Board you can use the Web IDE's update feature, and with Puck.js you can use a phone: http://www.espruino.com/Puck.js#firmware-updates
Beta Was this translation helpful? Give feedback.
All reactions