Gordon Williams
d504008aa8
1v93
...
Had to make a few changes to reduce flash usage on some parts where it's scarce.
Original Espruino Board -> No 'trace' function
Other 'low flash' boards -> No 'setXIndicator' functions
2017-07-10 15:31:27 +01:00
Gordon Williams
9324e10f65
Puck.js: Added Puck.magTemp() function to get the magnetometer;'s temperature as well
2017-06-29 10:08:33 +01:00
Gordon Williams
e430538749
update Puck.capSense docs
2017-04-27 09:08:38 +01:00
Gordon Williams
dbaa11a6fb
fix self test after anode/cathode pins swapped in code
2017-04-19 10:17:48 +01:00
Gordon Williams
db6c9ab777
nRF52: Now use 'high drive' mode for GPIOs
...
Puck.js: tweak IR duty cycle, with high drive GPIO range is ~3x more
2017-03-15 09:19:51 +00:00
Gordon Williams
b565bb4df5
Puck.js: Correct reading if using analogWrite to red LED and *then* using Puck.light()
2017-03-08 15:01:40 +00:00
Gordon Williams
5018128bac
Fix jstExecuteTaskChecker bug, and allow jstExecuteFn to take a userdata argument
...
Puck.js: Reduce IR LED to 10% duty cycle
Puck.js: Allow Puck.IR to take pins for external IR LED (fix #927 )
2017-01-25 15:14:07 +00:00
Ron Smeral
e676bcb444
Puck docs: Added detail and minor fixes to magnetometer functions
2017-01-15 15:43:17 +01:00
Gordon Williams
39617712e2
Puck.js: Tweak battery percentage calculation to try and make it more linear
...
Puck.js: Adjust Puck.light() levels based on battery percentage (and add comments)
2017-01-10 09:34:36 +00:00
Gordon Williams
bb52ec9d1e
Fix bug that caused Bluetooth/TV/USB objects to be added in devices that didn't support them ( fix #832 )
2017-01-06 09:36:59 +00:00
Gordon Williams
b5dbb14a36
nRF5x: Ensure setWatch doesn't reset pin state
...
nRF5x: Reset pin states to default on 'reset()'
nRF5x: Move advertising back to 375ms (more reliable connections)
Puck: allow Puck.mag to work while magnetometer is on
2016-11-15 11:29:32 +00:00
Gordon Williams
3c6cf9d25b
oops - fix documentation issue
2016-11-03 17:11:10 +00:00
Gordon Williams
bf38ab7651
Tweaking puck auto-test to cope with brand new batteries
2016-11-01 15:05:50 +00:00
Gordon Williams
c969165ff1
update test for puck
2016-10-25 11:34:30 +01:00
Gordon Williams
8f1ce1e78b
nRF5x: Add Puck.js self-test code, fix issue where analogRead reset pin state
2016-10-24 16:20:10 +01:00
Gordon Williams
f9fdd62f88
attempt at improving HTML documentation quality
2016-10-18 09:49:31 +01:00
Gordon Williams
2f0aedeb7b
Added Puck.getBatteryPercentage
2016-10-06 15:58:47 +01:00
Gordon Williams
687842d4ab
magnetometer doc tweaks
2016-09-23 12:14:36 +01:00
Gordon Williams
b26e6d5bd2
added light read function
2016-09-20 15:53:43 +01:00
Gordon Williams
89cbb63ca8
Allow Magnetometer speed to be specified for Puck.js
2016-09-06 12:22:12 +01:00
Gordon Williams
a1e4a3f027
give capsense a timeout, add it to Puck object, and fix Ctrl-C behaviour on nRF52
2016-08-26 12:17:02 +01:00
Gordon Williams
a178f43e80
fix puck IR, and nRF52 write-analogread-write
2016-08-03 16:03:24 +01:00
Gordon Williams
de133bd0f9
Fix nRF5x setWatch regression, and add magnetometer 'on' mode
2016-08-02 14:49:16 +01:00
Gordon Williams
32712e8b00
Add built in IR send function (tidier than pulling in JS code)
2016-08-02 14:16:13 +01:00
Gordon Williams
4e4207ac42
magnetometer now working
2016-07-27 18:28:58 +01:00
Gordon Williams
d1dcc781c0
puck magnetometer test
2016-07-27 16:22:14 +01:00