osd-contiki/examples/stm32nucleo-spirit1/sensor-demo
2015-10-27 12:12:59 +01:00
..
Makefile Compilation flags update: BOARD=ids01a4/5 SENSORBOARD=iks01a1 2015-10-27 12:12:59 +01:00
README.md Compilation flags update: BOARD=ids01a4/5 SENSORBOARD=iks01a1 2015-10-27 12:12:59 +01:00
sensor-demo.c Compilation flags update: BOARD=ids01a4/5 SENSORBOARD=iks01a1 2015-10-27 12:12:59 +01:00

Sensor Demo

The sensor demo can be used to read the values of all sensors and print them every 5 seconds on the terminal.

In order to use this example the X-NUCLEO-IKS01A1 expansion board featuring ST environmental and motion MEMS sensors must be used. It needs to be connected on top of the NUCLEO-L152RE (MCU) and the X-NUCLEO-IDS01Ax (sub-1GHz RF communication) boards.

To build the example type:

make TARGET=stm32nucleo-spirit1 BOARD=ids01a4 SENSORBOARD=iks01a1

or

make TARGET=stm32nucleo-spirit1 BOARD=ids01a5 SENSORBOARD=iks01a1

depending on the X-NUCLEO-IDS01Ax expansion board for sub GHz radio connectivity you have.