We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4d7405 commit 2041f77Copy full SHA for 2041f77
README.md
@@ -44,9 +44,20 @@ The circuit has been fully simulated and tested using **Proteus**.
44
## 💻 Code Overview
45
46
```c
47
-char unsigned continue_text[] = {
48
-// Hex codes for scrolling characters in "Reza Guner"
49
-};
+void scroll_continuous_text() {
+ int start_col, i, j;
+
50
51
+ for (start_col = 0; start_col < TOTAL_COLUMNS + 8; start_col++) {
52
+ for (j = 0; j < 10; j++) {
53
+ for (i = 0; i < 8; i++) {
54
+ int text_col = start_col - i;
55
+ unsigned char col_data = (text_col >= 0 && text_col < TOTAL_COLUMNS) ? continuous_text[text_col] : 0x00;
56
+ send_to_matrix(~(1 << i), col_data);
57
+ }
58
59
60
+}
61
```
62
63
- PORTA controls the active column selection (~(1 << i))
0 commit comments