mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-15 00:29:02 +00:00
650 B
650 B
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.