We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5817707 commit f3cdbd2Copy full SHA for f3cdbd2
src/microview_fish/fish.cpp
@@ -73,5 +73,24 @@ void setup() {
73
uView.display();
74
}
75
76
+#if 0
77
+static uint8_t contrast = 0;
78
+
79
+void loop() {
80
+ static int8_t inc = 256 / 16;
81
+ if ((inc > 0 && ((uint8_t) (contrast + inc)) <= contrast) ||
82
+ (inc < 0 && ((uint8_t) (contrast + inc)) >= contrast)) {
83
+ inc = -inc;
84
+ }
85
+ contrast = contrast + inc;
86
+ // uView.clear(PAGE);
87
+ uView.contrast(contrast);
88
+ // uView.setCursor(0, 0);
89
+ // uView.print(String(contrast) + "\n" + String(inc) + "\n");
90
+ // uView.display();
91
+ delay(1000 / 16);
92
+}
93
+#else
94
void loop() {
95
96
+#endif
src/microview_test/Makefile renamed to src/microview_monswitch/Makefile
src/microview_test/test.cpp renamed to src/microview_monswitch/test.cpp
0 commit comments