Tim

Results 19 comments of Tim

please add this feature

I'm sorry :) I solved the issue. beeing root is important :) so instead of `nrfutil dfu serial -pkg D6-DS.zip -p /dev/ttyUSB0` I had to use `sudo nrfutil dfu serial...

> So did you flash Espruino too, did it work? Yes, I played a bit with REPL and uploaded your gist. The OLED works. But it is the first time...

I just measured it with my multimeter, the RX/TX pins are always at about 3,5V when high. Probably 3,5V is enough to be a logical 1 in most 5V setups....

how far are the kx022 and kx023 identical?

because here is a c library for the kx022 that might be quite easy to port https://github.com/goran-mahovlic/nRF51_ID107_libs/tree/master/libraries/KX022

Thank you very much :) And do you have something similar for the HR sensor (illuminating the LED and reading back the brightness value)?

I found a datasheet: https://pdf-datasheet-datasheet.netdna-ssl.com/pdf-down/P/A/H/PAH8001EI-2G-PixArt.pdf I'm highly impressed with the complexity of what I believed to be a phototransistor and a led 😅

unfortunately the datasheet doesn't seem to be complete, I found some C code for the sensor on github that writes to 0x27-0x29 and those are not named in the datasheet....

here is some very basic code to simply read something from the hr sensor (simply the first 8 bytes (8 is an arbitrary value) in this exmaple); its written in...