Mobsya / aseba-target-thymio2

Thymio 2 firmware
8 stars 8 forks source link

New accelerometer LIS2DE12 #48

Closed mbonani closed 5 years ago

mbonani commented 5 years ago

Actual accelerometer is End of Live and need to be replace. Mostly the replacement will be transparent for the user and all current functionality are conserve.

shphilippe commented 5 years ago

do an API which abstract the accelerometer type, and then completely remove each if(this acceleraometer) { to that} else { do that} everywhere in the code (except in this abstraction layer)