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:
sensor = hardware.attach("I2C", type="BME280")
sensor.on_threshold("temperature > 25°C", lambda e: fan.on())
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?
Top comments (1)
github.com/es-ist-leon/BitBound