Search found 4 matches

by msam
Wed Sep 05, 2018 12:29 pm
Forum: Other Boards
Topic: [nfr52] battery level
Replies: 2
Views: 3019

Re: [nfr52] [solved] battery level

Hi c45713, My code has several errors.Thanks for help.You find the problem: I need to read battery level and write as bytearray Your code: level = ADC.battery_level() char_batt.write(bytearray([level])) Just one typo on your code: char_batt = Characteristic(uuid_battery, props = battery_props, attrs...
by msam
Fri Aug 17, 2018 8:47 pm
Forum: Other Boards
Topic: [nfr52] battery level
Replies: 2
Views: 3019

[nfr52] battery level

Hi all, Any nordic developer ? I am trying the following code on nrf52 module: MicroPython v1.9.4-378-gab81578-dirty on 2018-08-17; PCA10040 with NRF52832 Type "help()" for more information. >> import machine >>> machine.ADC.battery_level() 100 >>> Then I installed the code below. I can connect to n...
by msam
Fri Aug 17, 2018 5:23 pm
Forum: Other Boards
Topic: [nrf52]
Replies: 2
Views: 2094

Re: [nrf52]

Hi c45713,

Your solution is correct:
https://github.com/micropython/micropyt ... f83557d710

Thanks
by msam
Sat Aug 11, 2018 2:13 pm
Forum: Other Boards
Topic: [nrf52]
Replies: 2
Views: 2094

[nrf52]

Hi all,
I am trying to develop using a custom nrf52 module.This module has no low frequency xtal.
It is possible to configure micropython to run on this specific hardware ?
I'm currently running micropython on Nordic pca10040 but would like to use non-Nordic hardware.