Smartage application
Dependencies: BufferedSerial SX1276GenericLib USBDeviceHT mbed Crypto X_NUCLEO_IKS01A2
Fork of STM32L0_LoRa by
Diff: main.cpp
- Revision:
- 29:04e1489f8fe2
- Parent:
- 26:d93f1206909c
- Child:
- 32:c22ce5fdacbf
--- a/main.cpp Thu May 31 22:50:54 2018 +0000 +++ b/main.cpp Mon Sep 17 20:37:51 2018 +0000 @@ -1,10 +1,4 @@ -/* - * Copyright (c) 2018 HELIOS Software GmbH - * 30826 Garbsen (Hannover) Germany - * Licensed under the Apache License, Version 2.0); - */ - #include "main.h" - +#include "main.h" DigitalOut myled(LED); //D12 TRIGGER D11 ECHO @@ -40,7 +34,7 @@ print_stuff(); bool empty = true; //WAIT - wait(7.5f); + wait(30.0f); while(1){ char distance[4], empty_distance[4], temperature[4];//Message to be sent