Modified to accomidate proper GET URL's and the 0.9" 128x32 I2C OLED
Though I have also added my own take on a 16x2 I2C LCD version!
- Change your wifi information from WifiConnect.h file
- char ssid[32] = "yourssid";
- char password[64] = "yourpass";
-
Modify the HTTP (NOT HTTPS) GET URL
Examples:
-
Modify the JSON Values to match the output (Browse directly or look at serial monitor)
Examples:
- int confirmed = (int)get_json_value(JsonArray, "confirmed", INT);
- int deaths = (int)get_json_value(JsonArray, "deaths", INT);
- int recovered = (int)get_json_value(JsonArray, "recovered", INT);