This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

help me to combine this KNN using nRF51822_ADXL345 data using mbed compiler

Hello world

after several hours & day, Finally I have to implement this KNN code and nRF51822_adxl345 code. I have implement to one. but there is problem that..

I can't mix data properly like this one..

I wanna to implement this to foot gesture that clasify for standing, walking and climbing up the stairs.

but, that's not look a like. how to mix the good code for sort of step , acc, vel, dist and prediction in 1 row at serial monitor.. please help me to fix it..

this is my mbed code

please help me soon..

best regards....