Adding .cpp files in Makefile
pedometer.cpp
lis302dl.cpp
spi1.cpp
utility.cpp
statistics.cpp
main.cpp

Signed-off-by: Omar Scotti <omar.scotti@mail.polimi.it>
Signed-off-by: Diego Rondelli <diego.rondelli@mail.polimi.it>
Methods of printing [Utility]
Introduction of the method that prints statistics (test2)
Prettines: x,y,z instead of dx,dy,dz (test1)

Signed-off-by: Omar Scotti <omar.scotti@mail.polimi.it>
Signed-off-by: Diego Rondelli <diego.rondelli@mail.polimi.it>
Limit and Range correction [Pedometer]
Adjustment of the range and the limit of the pedometer algorithm
LIMIT 155, R 3

Signed-off-by: Omar Scotti <omar.scotti@mail.polimi.it>
Signed-off-by: Diego Rondelli <diego.rondelli@mail.polimi.it>
Set pedometer ad a singleton [Pedometer]
Setting of the class as singleton

Signed-off-by: Omar Scotti <omar.scotti@mail.polimi.it>
Signed-off-by: Diego Rondelli <diego.rondelli@mail.polimi.it>
Use of fabs() in the algorithm [Pedometer]
dx,dy,dz global variables
introduction of fabs function

Signed-off-by: Omar Scotti <omar.scotti@mail.polimi.it>
Signed-off-by: Diego Rondelli <diego.rondelli@mail.polimi.it>
Creation of threads [Main]
Creation of the thread pedometer and statistics
Setting of the priority
startPedometer and startStatistics creation

Signed-off-by: Omar Scotti <omar.scotti@mail.polimi.it>
Signed-off-by: Diego Rondelli <diego.rondelli@mail.polimi.it>
Introduction of the sleep [Pedometer]
50Hz frequency of Pedometer
Removing print

Signed-off-by: Omar Scotti <omar.scotti@mail.polimi.it>
Signed-off-by: Diego Rondelli <diego.rondelli@mail.polimi.it>