EIoT LoRa node 2 - Working ok
Dependencies: BufferedSerial SX1276GenericLib-node1 mbed
Fork of DISCO-L072CZ-LRWAN1_LoRa_node by
Diff: SX1276GenericPingPong/GenericPingPong.h
- Revision:
- 13:c2c91cc0467d
- Parent:
- 12:a6a37ba1feff
diff -r a6a37ba1feff -r c2c91cc0467d SX1276GenericPingPong/GenericPingPong.h --- a/SX1276GenericPingPong/GenericPingPong.h Wed Aug 08 22:33:19 2018 +0000 +++ b/SX1276GenericPingPong/GenericPingPong.h Mon Oct 08 16:11:05 2018 +0000 @@ -33,8 +33,10 @@ * Callback functions prototypes */ char *splitOnPosition(char *msj, int pos); -void onButtonEvent(); -void readAnalog(); +void readTemperature(); +void readCurrent(); +void sendElectric(); +double filter2o(double u, double &v1, double &v2, const double a0, const double a1, const double a2, const double b0, const double b1, const double b2); /*! * @brief Function to be executed on Radio Tx Done event */