diff --git "a/Icon\r" "b/Icon\r" new file mode 100644 index 0000000..e69de29 diff --git a/Project_POWER - UPGRADE.pdf b/Project_POWER - UPGRADE.pdf new file mode 100644 index 0000000..49b6cd8 Binary files /dev/null and b/Project_POWER - UPGRADE.pdf differ diff --git a/Project_POWER.pdf b/Project_POWER.pdf new file mode 100644 index 0000000..eef17b7 Binary files /dev/null and b/Project_POWER.pdf differ diff --git a/UPGRADE/Code/v2/v2.ino b/UPGRADE/Code/v2/v2.ino new file mode 100644 index 0000000..0a31829 --- /dev/null +++ b/UPGRADE/Code/v2/v2.ino @@ -0,0 +1,27 @@ + +#include +#include +#include + +#define SCREEN_WIDTH 128 +#define SCREEN_HEIGHT 32 +#define OLED_RESET -1 + +Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET); + +int batteryPct; + +void setup() { + delay(100); + display.begin(SSD1306_SWITCHCAPVCC, 0x3C); + display.clearDisplay(); + display.setTextColor(WHITE); +} + +void loop() { + display.drawRect(5, 5, 123, 27, SSD1306_WHITE); + display.display(); // Update screen with each newly-drawn rectangle + delay(500); + // put your main code here, to run repeatedly: + +}