diff options
Diffstat (limited to 'apps/accelerometer-test/app.c')
-rw-r--r-- | apps/accelerometer-test/app.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/accelerometer-test/app.c b/apps/accelerometer-test/app.c index 1a3acafa..bd4cdaaa 100644 --- a/apps/accelerometer-test/app.c +++ b/apps/accelerometer-test/app.c @@ -28,6 +28,10 @@ static void cb_tick(void) { bool overrun = lis2dw_read_fifo(&fifo); printf("FIFO captured %d readings.\n", fifo.count); if (overrun) printf("\tThere was an overrun!\n\n"); + + printf("%d, %d, %d\n", fifo.readings[0].x, fifo.readings[0].y, fifo.readings[0].z); + printf("%d, %d, %d\n", fifo.readings[10].x, fifo.readings[10].y, fifo.readings[10].z); + printf("%d, %d, %d\n", fifo.readings[20].x, fifo.readings[20].y, fifo.readings[20].z); } void app_init(void) { |