Skip to content

v2.1.0

Compare
Choose a tag to compare
@microbit-carlos microbit-carlos released this 26 Sep 21:15
· 57 commits to master since this release
e4321a8
  • microphone.sound_level() now uses a better SPL algorithm with better range detection (#122)
  • Setting the audio.SoundEffect constructor arguments and/or attributes to out of range values now throws an exception (#120, #129)
  • audio.SoundEffect.fx no longer returns None instead of 0 (the constant FX_NONE value) (#130)
  • Update microbit.scale() to set the output type depending on the to parameter type (#121)
  • Fix issue where power.deep_sleep() with a ms argument would block until the time elapsed when it was woken up via other wake up sources (#119, #128)
  • power.deep_sleep() parameter run_every updated to configure if microbit.run_every functions will continue to run while the board sleeps (#118)
    • Before the micro:bit would wake up at the next scheduled function event, and it was up to the user code to go back to sleep
    • Now it will automatically go back to sleep until the next scheduled event, or configured wake up source
  • Add UART as a wake up source from Deep Sleep (#127)
  • Fix issue where trying to go to Deep Sleep without wake up sources didn't work (#126)
  • Update CODAL from v0.2.42-hotfix.1 to v0.2.43 tag
    • Changes to codal-microbit-v2:
      • deepSleep() with no wake targets will now actually deep sleep.
      • Serial ports can now be used to wake the board from deep sleep.
      • New configuration flag MICROBIT_USB_SERIAL_WAKE can now be set to configure the board to wake on serial input.
    • Changes to codal-core:
      • Fixed spurious mic activation due to overlapping device IDs between CodalComponent and MicroBitCompat.

For a full list of commits since the last release: v2.1.0-beta.3...v2.1.0