Skip to content

Commit

Permalink
Added criticalData only tfg branch
Browse files Browse the repository at this point in the history
Pushed criticalData.h to allow the compilation by the jury reviewing this project
  • Loading branch information
Mickyleitor committed Nov 16, 2020
1 parent 8f865c6 commit e2b83d0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ fp-info-cache
*.xml
*.csv

# Critical files
# Critical files (Allowed in tfg branch)

CriticalData.h
# CriticalData.h
22 changes: 22 additions & 0 deletions Firmware_Arduino/CriticalData.h
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}
}
};
5 changes: 5 additions & 0 deletions Firmware_ESP8266/CriticalData.h
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

0 comments on commit e2b83d0

Please sign in to comment.