Skip to content

Conversation

@deadprogram
Copy link
Member

This PR adds the ADC implementation for the nrf51 for boards like the BBC:Microbit and MicrobitV2

Signed-off-by: deadprogram <ron@hybridgroup.com>
@deadprogram
Copy link
Member Author

@breml
Copy link

breml commented Nov 26, 2022

@deadprogram thanks for this PR.

I just successfully tested this code with a micro:bit V1.5 and an Octopus Analog Rotation Brick. Works like a charm.

The range that I observed is 64 to 65344. So I wonder, if we could do better in extrapolating the 10bit value to 16bit.

@deadprogram
Copy link
Member Author

Thanks for verifying @breml now merging.

@deadprogram deadprogram merged commit 1d52e6b into dev Nov 26, 2022
@deadprogram deadprogram deleted the add-nrf51-adc branch November 26, 2022 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants