This commit is contained in:
Wolfgang Hottgenroth 2024-02-27 20:39:27 +01:00
parent 9c493d515e
commit 4f70ea392b
3 changed files with 18 additions and 4 deletions

View File

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

2
main.S
View File

@ -50,7 +50,7 @@
.section ".data" .section ".data"
screendata: screendata:
.rept 3 .rept 5
.byte 0 .byte 0
.endr .endr
screendataend: screendataend:

View File

@ -40,3 +40,15 @@ Short pulse: 550ns
Long pulse: 1.18us Long pulse: 1.18us
![](./docs/pulse_long.png) ![](./docs/pulse_long.png)
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 |