Tools: I built a library that makes MicroPython feel like a web framework – looking for feedback
Source: Dev.to
Hey! I got tired of writing low-level register code for sensors, so I made a declarative abstraction layer. Instead of bit-shifting I2C data, you write: It's called BitBound, available on PyPI. Supports 20+ devices, runs in simulation mode for desktop testing. Happy to share the link if anyone's interested – just comment below! What sensors/actuators would you want supported? Templates let you quickly answer FAQs or store snippets for re-use. github.com/es-ist-leon/BitBound Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse COMMAND_BLOCK:
sensor = hardware.attach("I2C", type="BME280") sensor.on_threshold("temperature > 25°C", lambda e: fan.on()) Enter fullscreen mode Exit fullscreen mode COMMAND_BLOCK:
sensor = hardware.attach("I2C", type="BME280") sensor.on_threshold("temperature > 25°C", lambda e: fan.on()) COMMAND_BLOCK:
sensor = hardware.attach("I2C", type="BME280") sensor.on_threshold("temperature > 25°C", lambda e: fan.on()) - Joined Jan 24, 2026