Countdown timer and scrolling text #628
Replies: 3 comments 2 replies
-
Quite a few Arduino sketches around after a Google that does this/ https://electronics-project-hub.com/arduino-countdown-timer-with-lcd-and-buzzer/ Use similar code and change the drawing code routine to use the Adafruit_GFX ->print(xxx) function instead to print the time? |
Beta Was this translation helpful? Give feedback.
-
@Fearscotty |
Beta Was this translation helpful? Give feedback.
-
Hi guys, Having a read through some of the questions and answers, it looks like we can not increase the brightness. Is this correct and is there a workaround? |
Beta Was this translation helpful? Give feedback.
-
I'm looking for lots of help with setting up an 8 min countdown timer. I have no experience with this stuff so it basically needs to be done for me. this project is to help my local footy club keep time on the field.
I have the panel up and working using the below code.
This is my first time here so any information would be much appreciated.
/*************************************************************************
**************************************************************************/
#include "ESP32-HUB75-MatrixPanel-I2S-DMA.h"
/* Use the Virtual Display class to re-map co-ordinates such that they draw
*/
#include "ESP32-VirtualMatrixPanel-I2S-DMA.h"
// Panel configuration
#define PANEL_RES_X 64 // Number of pixels wide of each INDIVIDUAL panel module.
#define PANEL_RES_Y 32 // Number of pixels tall of each INDIVIDUAL panel module.
#define NUM_ROWS 1 // Number of rows of chained INDIVIDUAL PANELS
#define NUM_COLS 2 // Number of INDIVIDUAL PANELS per ROW
// ^^^ NOTE: DEFAULT EXAMPLE SETUP IS FOR A CHAIN OF TWO x 1/8 SCAN PANELS
// Change this to your needs, for details on VirtualPanel pls read the PDF!
#define SERPENT true
#define TOPDOWN false
// placeholder for the matrix object
MatrixPanel_I2S_DMA *dma_display = nullptr;
// placeholder for the virtual display object
VirtualMatrixPanel *FourScanPanel = nullptr;
/******************************************************************************
******************************************************************************/
void setup()
{
mxconfig.gpio.a = 23; // led matrix pin config
mxconfig.gpio.b =19; // led matrix pin config
mxconfig.gpio.c =5; // led matrix pin config
mxconfig.gpio.d = 22; // led matrix pin config
mxconfig.gpio.e = 18; // led matrix pin config
mxconfig.gpio.clk = 21; // led matrix pin config
mxconfig.gpio.lat = 4 ; // led matrix pin config
mxconfig.gpio.oe = 15; // led matrix pin config
mxconfig.gpio.r1 = 25; // led matrix pin config
mxconfig.gpio.g1 = 26; // led matrix pin config
mxconfig.gpio.b1 = 27; // led matrix pin config
mxconfig.gpio.r2 = 14; // led matrix pin config
mxconfig.gpio.g2 = 12; // led matrix pin config
mxconfig.gpio.b2 = 13; // led matrix pin config
mxconfig.clkphase = false; // Change this if you see pixels showing up shifted wrongly by one column the left or right.
}
void loop() {
}
Beta Was this translation helpful? Give feedback.
All reactions