Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CODAL to v0.2.42, use interruptable deepSleep(), and tag 2.0.0-beta.2 #123

Merged
merged 3 commits into from
Sep 15, 2022

Conversation

microbit-carlos
Copy link
Contributor

@microbit-carlos microbit-carlos commented Sep 15, 2022

@dpgeorge creating a PR for visibility, I'll merge this today to release a beta.2 with the wave->waveform change for the Python Editor.

Also including the latest CODAL with the interruptable sleep, which I've been testing locally.

Changes to codal-microbit-v2 and codal-core include:

- Fixed an off-by-one error in FiberLock whereby a semaphore-mode
  lock would have 1 slot fewer than expected
- Fixed an off-by-one error in the device pacic codes in MicroBitError,
  where all hw specific codes were one higher than needed (leaving code 50 empty)
- Added a new deepSleep() call to support a kind of interruptable deep sleep mode
- Minor build.py patch to show --status without pagenation
- Improved sound level detection sensitivity to 35db from 52db,
  re-calibrated parameters for accuracy,
  and introduced optional 8 bit range sound level API
- Merged a new NRF52LEDMatrix::rotateTo function (Thanks Martin!)

https://github.com/lancaster-university/codal-microbit-v2/releases/tag/v0.2.42
The new interruptable flag lets the deepSleep function to return
before the milliSeconds time elapses, when the board has been
woken up by a different source.
@microbit-carlos microbit-carlos merged commit 6bbb6fb into master Sep 15, 2022
@microbit-carlos microbit-carlos deleted the update-2.0.0-beta.2 branch September 15, 2022 13:25
@dpgeorge
Copy link
Collaborator

Looks good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants