nes-proj/examples/stm32nucleo-spirit1/sensor-demo
Marco Grella 4e81c87c3a Fix to sensor-demo license and Readme file. 2015-10-13 12:21:21 +02:00
..
Makefile Added new stm32nucleo-spirit1 platform 2015-07-24 16:30:10 +02:00
README.md Fix to sensor-demo license and Readme file. 2015-10-13 12:21:21 +02:00
sensor-demo.c Fix to sensor-demo license and Readme file. 2015-10-13 12:21:21 +02:00

README.md

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 USE_SUBGHZ_BOARD=IDS01A4 USE_SENSOR_BOARD=1

or

make TARGET=stm32nucleo-spirit1 USE_SUBGHZ_BOARD=IDS01A5 USE_SENSOR_BOARD=1

depending on the sub GHz board you have.