Float library problems
erik1392 opened this issue · 4 comments
Arduino DUE
- Accelerometer ADXL345 library incomparable with Wire1 I2C port on Arduino due.
All boards with 12bit ADC
- Arduino moved to 10bit default ADC on all board unless you specify othervise with analogReadResolution();
- Due, allrighty, not really a huge problem we should work on it. The ADXL345 is not even a library, it has been designed by @martinvrican ? Can you take a look at tit?
- Metro, I'm not sure I understand you correctly. The sampling core does not have a flag or the Arduino Core?
issue updated.. no problem with adafruit boards specifically but with all 12bit ADC boards.
ADXL345 used in Arduino IDE is the original Adafruit library. Only Matlab/Simulink has some semi-custom library.
OK, my mistake.. I was confused that ADXL345 is ToF sensor but no... it is an accelerometer. So this issue is irrelevant for FloatShield.. but it looks like the Adafruit ADXL345 library in src/lib folder is not happy when you are compiling anything for Due. It looks like it is not even used in LinkShield because @martinvrican has already custom one. So I suggest removing that Lib from Automation Shield if it is not utilized.
That's what I thought. That @martinvrican has already implemented it. In that case, @martinvrican can we remove the submodule for the original ADXL345?