test sending sensor results over lora radio. Accelerometer and temp/pressure.
Serial terminal operates at 115200.
This project provides a text-based menu over serial port.
Operating the program only requires using the arrow keys, enter key to activate a control, or entering numbers.
Two sensors provided:
LIS12DH12
accelerometer operates in a continuous sampling mode. Enable control for accelerometer enables this continuous sampling, approx every 3 seconds.
LPS22HH temperature / pressure sensor operates as single shot, where pressing the control button on terminal causes single sample to be performed.
poll rate
control will enable repeated reading of pressure/temperature-sensor or photo-sensor when poll rate is greater than zero.
target must be: DISCO_L072CZ_LRWAN1
Files at revision 2:972a5704f152
Name | Size | Actions |
---|---|---|
[up] | ||
TARGET_DISCO_L072CZ_LRWAN1 | ||
c_demo | ||
SX127x.lib | 60 | Revisions Annotate |
main.cpp | 49745 | Revisions Annotate |
mbed-os.lib | 77 | Revisions Annotate |
radio.h | 5024 | Revisions Annotate |
radio_sx127x.cpp | 49710 | Revisions Annotate |
radio_sx127x_private.h | 7770 | Revisions Annotate |