Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MPU6050 Grove_temperature
Diff: ControlImpl.cpp
- Revision:
- 15:11e13881c385
- Parent:
- 14:5ab232a10f33
- Child:
- 17:8789ab4067a6
diff -r 5ab232a10f33 -r 11e13881c385 ControlImpl.cpp --- a/ControlImpl.cpp Sat Jul 13 15:21:57 2019 +0000 +++ b/ControlImpl.cpp Mon Jul 15 21:41:01 2019 -0300 @@ -6,9 +6,8 @@ #include "Gyroscope.h" #include "LoRaWanComm.h" -I2C i2c(I2C_SDA, I2C_SCL); - ControlImpl::ControlImpl() { + I2C i2c(I2C_SDA, I2C_SCL); // Incluindo os Protocolos // includeSensor( new Protocol() ) @@ -17,7 +16,7 @@ includeSensor( (Sensor<void*>*) new Gyroscope(i2c) ); // Incluindo Comunicacoes - includeCommunication( (Communication<void*>*)new LoRAWanComm("") ); + includeCommunication( (Communication<void*>*)new LoRaWanComm("") ); } ControlImpl::~ControlImpl() {