That can be plugged with the filter classes in #3, so that all sensors have about the same API.
Hierarchy something like: Sensor -> accelerometer -> i2c_accelerometer -> 3_axis -> bma180
(c++ has multiple inheritance so number of axes and interface style might be better placed)
That can be plugged with the filter classes in #3, so that all sensors have about the same API.
Hierarchy something like: Sensor -> accelerometer -> i2c_accelerometer -> 3_axis -> bma180 (c++ has multiple inheritance so number of axes and interface style might be better placed)