Skip to content
Snippets Groups Projects
Select Git revision
  • d550b880dd36e23491e9cf9d182b39920d7c113c
  • master default protected
2 results

display.h

Blame
  • display.h 340 B
    #ifndef DISPLAY_H
    #define DISPLAY_H
    
    #include <Arduino.h>
    #include <MatrixHardware_ESP32_V0.h>
    #include <SmartMatrix.h>
    
    extern bool runGame;
    extern int brightnessPercent;
    
    void setupDisplay();
    void displayLoop();
    void showEndScreen(int ticks);
    void fadeOutGame(int brightness);
    void showEvolutions(int ticks);
    void clearDisplay();
    
    #endif