This commit is contained in:
Wolfgang Hottgenroth 2024-02-27 20:53:13 +01:00
parent a5536e63b7
commit b4ebe4978b
3 changed files with 24 additions and 12 deletions

View File

@ -3,11 +3,12 @@
.section ".rodata","a"
screendata_tmpl:
.global screendata_tmpl
.byte _violet
.byte _violet
.byte _violet
.byte _violet
.byte _violet
.byte _red
.byte _magenta
.byte _blue
.byte _cyan
.byte _green
.byte _yellow
screendataend_tmpl:
.byte 0xff

4
main.S
View File

@ -22,6 +22,8 @@
#define BIT_COUNTER_REGISTER r6
#define BIT_COUNTER_INIT_VALUE 0x01
;; 2.48us
#define TIMER_COMPLETE 45
;; 1.18us
@ -50,7 +52,7 @@
.section ".data"
screendata:
.rept 5
.rept 6
.byte 0
.endr
screendataend:

View File

@ -41,14 +41,23 @@ Long pulse: 1.18us
![](./docs/pulse_long.png)
## Load Time
During of loading data into five LEDs: 297us
![](./docs/five_leds.png)
| # of LEDs | Load Time |
| --------- | --------- |
| 5 | 297us |
| 10 | 594us |
| 100 | 5.9ms |
| 200 | 11.8ms |
During of loading data into six LEDs: 297us
![](./docs/six_leds.png)
| # of LEDs | Load Time measured | calculated |
| --------- | ------------------ | ---------- |
| 5 | 297us | |
| 6 | 354us | 356.4us |
| 10 | | 594us |
| 100 | | 5.9ms |
| 200 | | 11.8ms |