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" .section ".rodata","a"
screendata_tmpl: screendata_tmpl:
.global screendata_tmpl .global screendata_tmpl
.byte _violet .byte _red
.byte _violet .byte _magenta
.byte _violet .byte _blue
.byte _violet .byte _cyan
.byte _violet .byte _green
.byte _yellow
screendataend_tmpl: screendataend_tmpl:
.byte 0xff .byte 0xff

4
main.S
View File

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

View File

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