Raspberry Pi 4 digit 7 segment display effects
27/11/2018
After the last post I began playing with a real 7 segment display with 4 digits using the Pi. My goal was to create text effects without using libraries.
displayword(unsigned char str[4]) // simply display a word, use in a loop blinkword(unsigned char str[4], int repeat) // blink word once plus any integer > 0. < 0 will blink forever runclock(void) // display the time on the display, forever scrollword(char *string) // scroll the string from right to left with a small buffer of extra charactersScrolling text:
Blinking text:
The source code can be found here.