This is code is part of a Technion course project in advanced IoT, implementing a device to read and transmit sensors data from a Formula racing car built by students at Technion - Israel Institute of Technology.
Fork of DISCO-L072CZ-LRWAN1_LoRa_PingPong by
This is code is part of a Technion course project in advanced IoT, implementing a device to read and transmit sensors data from a Formula racing car built by students at Technion - Israel Institute of Technology.
How to install
- Create an account on Mbed: https://os.mbed.com/account/signup/
- Import project into Compiler
- In the Program Workspace select "Formula_Nucleo_Reader"
- Select a Platform like so:
- Click button at top-left
- Add Board
- Search "B-L072Z-LRWAN1" and then "Add to your Mbed Compiler"
- Finally click "Compile", if the build was successful, the binary would download automatically
- To install it on device simply plug it in to a PC, open device drive and drag then drop binary file in it
Revision 1:65d602e2d746, committed 2017-05-10
- Comitter:
- Helmut64
- Date:
- Wed May 10 12:37:06 2017 +0000
- Parent:
- 0:c43b6919ae15
- Child:
- 2:772fb0dbccef
- Commit message:
- Added simple sleep to save power.
Changed in this revision
| SX1276GenericPingPong/GenericPingPong.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SX1276GenericPingPong/GenericPingPong.cpp Wed May 10 08:48:46 2017 +0000
+++ b/SX1276GenericPingPong/GenericPingPong.cpp Wed May 10 12:37:06 2017 +0000
@@ -365,6 +365,7 @@
State = LOWPOWER;
break;
case LOWPOWER:
+ sleep();
break;
default:
State = LOWPOWER;
