First attemp with building orientation device collector. Basically it collects data from lsm303d sensor and stores it to sd card. Storing can be turned on/off on demand. Led indicate whether it's recording or not.
Example data can be found in DATA_1.CSV containing single capture.