Every time MicroSD is plugged (the same pin working with above code), ADXL345 reading suddenly becomes 0g, 0g, 0g. Pull it out then reading is good.
See https://forum.arduino.cc/index.php?topic=360718.0 and not sure if this is due to a hardware defect on MicroSD Adapter.
Already read many post like https://forum.sparkfun.com/viewtopic.php?f=14&t=38072 and the code produce 0g result, too.
I am using this Catalex MicroSD Card Adapter - https://www.amazon.com/SenMod-Adapter-R ... QPVZDQS37N
(1) Not sure if anyone successfully combine both or combine one SPI with this kind of SD Adapter.
(2) Is it purely a Catalex MicroSD Card Adapter problem? Anyone suggest another SD adapter that can work with ADXL345?
(3) I am thinking to use SPI for SD and HSPI for ADXL345. Is it possible?