You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the relevant MODE is deprecated for nRF52. This DevZone response that Carlos found suggests it is not tested.
If it's not reasonable to support it for V2 then we should mention this in the docs for the parameter. Happy to create a PR for that but raising this for discussion first.
The text was updated successfully, but these errors were encountered:
In a52cd59 I made it so the user can pass in a value of "2" to select 250Kbit, if they really need it to communicate with a micro:bit v1. But otherwise they shouldn't use it and so the constant radio.RATE_250KBIT is unavailable.
radio.RATE_250KBIT
is not defined in MicroPython for V2 but is for V1.It's commented out in the source: https://github.com/microbit-foundation/micropython-microbit-v2/blame/eba8995843ebc7246765b364710543c9ffee344a/src/codal_port/modradio.c#L269 (and elsewhere).
It's documented in the V2 docs
radio.config
data_rate
parameter: https://microbit-micropython.readthedocs.io/en/v2-docs/radio.html#radio.configIt looks like the relevant MODE is deprecated for nRF52. This DevZone response that Carlos found suggests it is not tested.
If it's not reasonable to support it for V2 then we should mention this in the docs for the parameter. Happy to create a PR for that but raising this for discussion first.
The text was updated successfully, but these errors were encountered: