Example of hello world for X-NUCLEO-IKS01A2

Dependencies:   X_NUCLEO_IKS01A2 mbed

Fork of HelloWorld_IKS01A2 by ST Expansion SW Team

Hello World Demo Application based on sensor expansion board X-NUCLEO-IKS01A2

Main function is to show how to get humidity, temperature, pressure, accelerometer, magnetomer and gyroscope data using the sensor expansion board and send them using UART to a connected PC or Desktop and display it on terminal applications like TeraTerm.

Files at this revision

API Documentation at this revision

Comitter:
cparata
Date:
Fri Aug 12 13:57:55 2016 +0000
Parent:
0:69566eea0fba
Child:
2:f23b144da50a
Commit message:
Remove useless delay at the beginning

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Aug 12 13:40:12 2016 +0000
+++ b/main.cpp	Fri Aug 12 13:57:55 2016 +0000
@@ -112,8 +112,6 @@
   printf("LSM303AGR accelerometer           = 0x%X\r\n", id);
   acc_gyro->ReadID(&id);
   printf("LSM6DSL accelerometer & gyroscope = 0x%X\r\n", id);
-  
-  wait(3);
  
   while(1) {
     printf("\r\n");