lancaster-university / codal-nrf52

MIT License
4 stars 15 forks source link

Add case for 31250 in switch(baudrate) #39

Closed CaptainCredible closed 2 years ago

CaptainCredible commented 2 years ago

see issue #38 micro:bit V2 can currently not send MIDI to other hardware because the baudrate cannot be set to 31250, despite this setting being available via the block editor as an enum.

the sdk for the nrf52 includes support for 31250 baud but it has simply been omitted here.

finneyj commented 2 years ago

Thanks @CaptainCredible.

Curious that we constrain baud rates at all really, as the NRF52 can hit a very broad range of speeds beyond the common ones! Anyhow, very happy to merge. This will make it's way from here into the next release for MakeCode and Micropython.

CaptainCredible commented 2 years ago

Sweet!