// max7219.h implementation in max7219a.c // This set of functions is meant // do be used with the 8 digit 7 segment // chineese display named max7219. // This version is stdio.h independent // meaning that you canīt use printf to // print anything but just printString() // for 8 char strings. // www.while1.eu 30/07/2023 #include <8051.h> #ifndef uChar #define uChar unsigned char #endif //Wires connected to ArduOne, you can change here: #define DATA P1_0 #define CLOCK P1_1 #define CS P1_2 // Send command or data to max7219 void writeWord(uChar command, uChar bdata); // Initialize the display void initMax7219(); // Clears the display void clearMax7219(); // Set the level of brightness (0 to 15) void setBrightnessMax7219(uChar); // stdio independent print function void printString(char *c);