microbit-foundation / micropython-microbit-v2

Temporary home for MicroPython for micro:bit v2 as we stablise it before pushing upstream
MIT License
42 stars 23 forks source link

Added possibility to use +8 dBm TX power for micro:bit v2 that supported by nRF52833 #98

Open BooBSD opened 2 years ago

BooBSD commented 2 years ago

Hello. According to nRF52833 specs, SoC is supported TX power up to +8 dBm. But now we can use only +4 dBm maximum from micropython. This PR adds possibility to use +8 dBm TX power for micro:bit v2.

How to use:

import radio

radio.on()
radio.config(power=8)
radio.send('+8 dBm!')

Thank you.