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.
Diff: Defs_Sett.h
- Revision:
- 16:76ddaae78dca
- Parent:
- 15:732822ddf3df
- Child:
- 17:be53141574c2
--- a/Defs_Sett.h Wed Mar 24 01:47:39 2021 +0000 +++ b/Defs_Sett.h Wed Mar 24 23:39:06 2021 +0000 @@ -7,11 +7,16 @@ #define LOOP_DELAY 2000 //Delay for main loop (us) #define VCC 3.3 //VCC of K64F board +//CONNECTION SETTINGS +#define URL "int-sol-ref.herokuapp.com" +#define PORT 80 + //BEHAVIORIAL SETTINGS #define TIME_NORMAL 10 //Time Between Adjustment in Normal Mode (seconds) #define TIME_WSETTING 1 //Time FN button need to be held for the system to go to WSETTING mode (seconds) #define TIME_MANUAL_TIMEOUT 3600 //Time for the system to resume NORMAL mode after idling in MANUAL mode (seconds) #define TIME_WSETTING_TIMEOUT 3 //Time for the system to resume NORMAL mode after idling in WSETTING mode (seconds) +#define TIME_RECONNECT_TIMEOUT 1000000 //Time for reconnect mode to timeout (us) #define TIME_ATRACK_TIMEOUT 1000000 //Time for auto tracking display to timeout (us) #define TICK_WIND 1000ms //Interval for Checking Wind Speed @@ -81,6 +86,7 @@ #define OP_OVERHEAT_MAN 10 #define OP_POWER_OFF 11 #define OP_ATRACK 12 +#define OP_RECONNECT 13 //Accelerometer Selection #define S_PANEL 0 #define S_R1 1