mirror of
https://github.com/alopexc0de/pixopixel.git
synced 2025-08-14 02:29:05 +00:00
Programs added
This commit is contained in:
@@ -52,7 +52,7 @@ uint8_t backbuffer = 0,
|
||||
|
||||
|
||||
#define SHIFTDELAY 30
|
||||
#define BRIGHTNESS 20
|
||||
#define BRIGHTNESS 100
|
||||
|
||||
|
||||
|
||||
@@ -84,6 +84,13 @@ void setup(void) {
|
||||
matrix.begin();
|
||||
matrix.setBrightness(BRIGHTNESS);
|
||||
|
||||
|
||||
screenFlash();
|
||||
delay(500);
|
||||
screenFlash();
|
||||
delay(500);
|
||||
|
||||
|
||||
notification();
|
||||
notificationhalf();
|
||||
|
||||
@@ -252,6 +259,14 @@ void loop() {
|
||||
|
||||
}
|
||||
|
||||
void screenFlash(){
|
||||
matrix.fillScreen(matrix.Color(200, 200, 200));
|
||||
matrix.show();
|
||||
delay(500);
|
||||
matrix.fillScreen(0);
|
||||
matrix.show();
|
||||
}
|
||||
|
||||
void notificationhalf() {
|
||||
for (int j = 15; j >= 0; j--) {
|
||||
matrix.fillScreen(0);
|
||||
|
Reference in New Issue
Block a user