-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pushed criticalData.h to allow the compilation by the jury reviewing this project
- Loading branch information
1 parent
8f865c6
commit e2b83d0
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#define REMOTE_PACKET_LENGTH 6 | ||
#define REMOTE_SYMBOL 490 // symbol width in microseconds | ||
#define REMOTE_KEYDATA_PRESENT | ||
|
||
const byte KeyCommands [3][3][REMOTE_PACKET_LENGTH] PROGMEM = | ||
{ | ||
{ | ||
/* COMANDO_STOP_LEFT */ {0x00,0x0F,0x0F,0xFF,0x00,0x00}, | ||
/* COMANDO_UP_LEFT */ {0x00,0x0F,0x0F,0xFF,0x00,0x01}, | ||
/* COMANDO_DOWN_LEFT */ {0x00,0x0F,0x0F,0xFF,0x00,0x02} | ||
}, | ||
{ | ||
/* COMANDO_STOP_CENTER */ {0x00,0x0F,0x0F,0xFF,0x01,0x00}, | ||
/* COMANDO_UP_CENTER */ {0x00,0x0F,0x0F,0xFF,0x01,0x01}, | ||
/* COMANDO_DOWN_CENTER */ {0x00,0x0F,0x0F,0xFF,0x01,0x02} | ||
}, | ||
{ | ||
/* COMANDO_STOP_RIGHT */ {0x00,0x0F,0x0F,0xFF,0x02,0x00}, | ||
/* COMANDO_UP_RIGHT */ {0x00,0x0F,0x0F,0xFF,0x02,0x01}, | ||
/* COMANDO_DOWN_RIGHT */ {0x00,0x0F,0x0F,0xFF,0x02,0x02} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#define MySSID "CHANGE_THIS" | ||
#define MyPassword "CHANGE_ALSO_THIS" | ||
#define MyHTTPrequest "GET /data/2.5/weather?lat=36.7149969&lon=-4.4776851&appid=AND_ALSO_CHANGE_THIS_API_KEY HTTP/1.0" | ||
#define MY_LAT 36.7149969 | ||
#define MY_LON -4.4776851 |