\n <\/td>\n | /*<\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | <\/span><\/td>\n <\/tr>\n \n <\/td>\n | * For detailed tutorial on building the project visit:<\/span><\/td>\n <\/tr>\n \n <\/td>\n | * https://exploreembedded.com/wiki/Building_a_Frivolous_Internet_Connected_Display_with_ESP32<\/span><\/td>\n <\/tr>\n \n <\/td>\n | * Install the libraries listed in the tutorial before compiling the code.<\/span><\/td>\n <\/tr>\n \n <\/td>\n | <\/span><\/td>\n <\/tr>\n \n <\/td>\n | <\/span><\/td>\n <\/tr>\n \n <\/td>\n | * Reference links:<\/span><\/td>\n <\/tr>\n \n <\/td>\n | <\/span><\/td>\n <\/tr>\n \n <\/td>\n | https://exploreembedded.com/wiki/Secure_IOT_with_AWS_and_Hornbill_ESP32<\/span><\/td>\n <\/tr>\n \n <\/td>\n | https://exploreembedded.com/wiki/AWS_IOT_with_Arduino_ESP32<\/span><\/td>\n <\/tr>\n \n <\/td>\n | <\/span><\/td>\n <\/tr>\n \n <\/td>\n | * Library Links:<\/span><\/td>\n <\/tr>\n \n <\/td>\n | https://github.com/ExploreEmbedded/Hornbill-Examples/tree/master/arduino-esp32/AWS_IOT/examples<\/span><\/td>\n <\/tr>\n \n <\/td>\n | https://github.com/adafruit/Adafruit_SSD1306<\/span><\/td>\n <\/tr>\n \n <\/td>\n | https://github.com/adafruit/Adafruit-GFX-Library<\/span><\/td>\n <\/tr>\n \n <\/td>\n | */<\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | \n<\/td>\n <\/tr>\n | \n <\/td>\n | #include<\/span> <<\/span>Wire.h><\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | #include<\/span> <<\/span>WiFi.h><\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | #include<\/span> <<\/span>Adafruit_GFX.h><\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | #include<\/span> <<\/span>Adafruit_SSD1306.h><\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | #include<\/span> <<\/span>jsonParser.h><\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | #include<\/span> <<\/span>AWS_IOT.h><\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | \n<\/td>\n <\/tr>\n | \n <\/td>\n | \n<\/td>\n <\/tr>\n | \n <\/td>\n | AWS_IOT AWS_CLIENT;<\/td>\n <\/tr>\n | \n <\/td>\n | /*<\/span>***********************************************************************<\/span><\/td>\n <\/tr>\n \n <\/td>\n | AWS Configuration<\/span><\/td>\n <\/tr>\n \n <\/td>\n | /************************************************************************/<\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | char<\/span> WIFI_SSID[]="<\/span>your Wifi SSID"<\/span><\/span>;<\/td>\n <\/tr>\n \n <\/td>\n | char<\/span> WIFI_PASSWORD[]="<\/span>Wifi Password"<\/span><\/span>;<\/td>\n <\/tr>\n \n <\/td>\n | char<\/span> HOST_ADDRESS[]="<\/span>AWS host address"<\/span><\/span>;<\/td>\n <\/tr>\n \n <\/td>\n | char<\/span> CLIENT_ID[]= "<\/span>client id"<\/span><\/span>;<\/td>\n <\/tr>\n \n <\/td>\n | char<\/span> TOPIC_NAME[]= "<\/span>your thing/topic name"<\/span><\/span>;<\/td>\n <\/tr>\n \n <\/td>\n | /*<\/span>**********************************************************************/<\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | \n<\/td>\n <\/tr>\n | \n <\/td>\n | \n<\/td>\n <\/tr>\n | \n <\/td>\n | \n<\/td>\n <\/tr>\n | \n <\/td>\n | /*<\/span>************************************************************************<\/span><\/td>\n <\/tr>\n \n <\/td>\n | OLED<\/span><\/td>\n <\/tr>\n \n <\/td>\n | *************************************************************************/<\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | #define<\/span> OLED_RESET<\/span> 0xFF<\/span><\/td>\n <\/tr>\n \n <\/td>\n | Adafruit_SSD1306 display<\/span>(OLED_RESET);<\/td>\n <\/tr>\n \n <\/td>\n | \n<\/td>\n <\/tr>\n | \n <\/td>\n | #if<\/span> (SSD1306_LCDHEIGHT != 64)<\/td>\n <\/tr>\n \n <\/td>\n | #error<\/span>("Height incorrect, please fix Adafruit_SSD1306.h!");<\/td>\n <\/tr>\n \n <\/td>\n | #endif<\/span><\/td>\n <\/tr>\n \n <\/td>\n | /*<\/span>***********************************************************************/<\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | \n<\/td>\n <\/tr>\n | \n <\/td>\n | \n<\/td>\n <\/tr>\n | \n <\/td>\n | \n<\/td>\n <\/tr>\n | \n <\/td>\n | \n<\/td>\n <\/tr>\n | \n <\/td>\n | /*<\/span>*********************************************************************************************************<\/span><\/td>\n <\/tr>\n \n <\/td>\n | 32x32 Horizontal Logos<\/span><\/td>\n <\/tr>\n \n <\/td>\n | ***********************************************************************************************************/<\/span><\/span><\/td>\n <\/tr>\n \n <\/td>\n | const<\/span> uint8_t<\/span> logoTwitter PROGMEM []= {<\/td>\n <\/tr>\n \n <\/td>\n | 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x00<\/span>, 0x0F<\/span>, 0x00<\/span>,<\/td>\n <\/tr>\n \n <\/td>\n | 0x00<\/span>, 0x00<\/span>, 0x3F<\/span>, 0xCE<\/span>, 0x30<\/span>, 0x00<\/span>, 0x7F<\/span>, 0xFC<\/span>, 0x38<\/span>, 0x00<\/span>, 0xFF<\/span>, 0xF8<\/span>, 0x7C<\/span>, 0x00<\/span>, 0xFF<\/span>, 0xFE<\/span>,<\/td>\n <\/tr>\n \n <\/td>\n | 0x3E<\/span>, 0x00<\/span>, 0xFF<\/span>, 0xFC<\/span>, 0x3F<\/span>, 0x80<\/span>, 0xFF<\/span>, 0xF8<\/span>, 0x3F<\/span>, 0xF0<\/span>, 0xFF<\/span>, 0xF8<\/span>, 0x1F<\/span>, 0xFF<\/span>, | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |