Refactor BHI160 App
This MR makes the BHI160 app more pythonic and fixes a few bugs/issues:
- An exception (including KeyboardInterrupt) will trigger the sensor to be closed again. Otherwise you'd get strange behavior trying to reopen then afterwards.
- Use simple_menu.button_events() instead of home-cooked solution. This should hopefully make the code more future-proof.
- Fix overlapping text caused by the font-rendering changes.
Merge request reports
Activity
changed milestone to %v1.11
added 3 - Preload 6 - Needs Review labels
cc @xiretza, want to take a look again? ;)
- Resolved by rahix
- Resolved by rahix
added 1 commit
- d8f3f55e - refactor(preload/bhi): Make app more pythonic
added 6 - Needs Testing label and removed 6 - Needs Review label
added 1 commit
- f4755f4b - refactor(preload/bhi): Make app more pythonic
mentioned in issue #168
added 4 commits
-
f4755f4b...1798ca80 - 3 commits from branch
master
- 1b890d8b - refactor(preload/bhi): Make app more pythonic
-
f4755f4b...1798ca80 - 3 commits from branch
added 1 commit
- 060471d8 - refactor(preload/bhi): Make app more pythonic
assigned to @rahix
- Resolved by rahix
The MR is ready to be merged, but I will hold off until the I2C race which is triggered by this is fixed (the upstream version also triggers it, but not as quickly).
mentioned in issue #169
Please register or sign in to reply