| Post Reply | RetroFed Forums Forum Index » Arduino |
| Author | Message | ||
|---|---|---|---|
|
Underpay
programming.dev
Underpay@programming.dev Joined: 2023-12-02 |
Hello! For a project I need to make a four-digit timer that counts up. I think I can figure out the counting part myself, it is just the display part I need help with. We are using four separate seven segment displays and an Arduino Mega 2560. The code currently looks like this: (I had it written over multiple lines, but the Lemmy preview just makes one big block of text from it so sorry for that)
This function is for writing a one, but I have written one for all ten numbers already. The problem is that this only works for the first display. Does anyone know how I can edit this code to make four seven segment displays work together, and make it display full numbers like 8732 for example? Thank you! |
||
| 1 Original | |||
| Post Reply |
Back to top |