u
This commit is contained in:
parent
24fe99ecd8
commit
07c951dd6f
BIN
Project_POWER - UPGRADE.pdf
Normal file
BIN
Project_POWER - UPGRADE.pdf
Normal file
Binary file not shown.
BIN
Project_POWER.pdf
Normal file
BIN
Project_POWER.pdf
Normal file
Binary file not shown.
27
UPGRADE/Code/v2/v2.ino
Normal file
27
UPGRADE/Code/v2/v2.ino
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
#include <Wire.h>
|
||||||
|
#include <Adafruit_GFX.h>
|
||||||
|
#include <Adafruit_SSD1306.h>
|
||||||
|
|
||||||
|
#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:
|
||||||
|
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
4136
corian-max.STEP
4136
corian-max.STEP
File diff suppressed because it is too large
Load Diff
3041
max-corian-2.STEP
3041
max-corian-2.STEP
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user