Read board sensors (temperature, humidity, pressure, gyroscope, accelerometer, magnetometer) using ST BSP drivers. This example is superceded with the HelloWorld_ST_Sensors example.

Dependencies:   BSP_B-L475E-IOT01

Information

This example is superceded with the HelloWorld_ST_Sensors example.

Import programHelloWorld_ST_Sensors

Simple application to test ST motion and environmental MEMS sensors. Supports NUCLEO+X-NUCLEO-IKS01A2 , STEVAL-STLKT01V1 (a.k.a. SensorTile) and B-L475E-IOT01A boards.

Revision:
0:280450d2b3cc
Child:
5:2d1980c7ca2d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Jan 31 13:03:41 2017 +0100
@@ -0,0 +1,11 @@
+#include "mbed.h"
+
+DigitalOut led1(LED1);
+
+int main()
+{
+    while(1) {
+        led1 = !led1;
+        wait(1);
+    }
+}