diff --git a/colors.S b/colors.S index b9cf134..4f4ada6 100644 --- a/colors.S +++ b/colors.S @@ -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 diff --git a/main.S b/main.S index 4f4a5e5..634a21a 100644 --- a/main.S +++ b/main.S @@ -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: diff --git a/readme.md b/readme.md index 9291e96..30a23cf 100644 --- a/readme.md +++ b/readme.md @@ -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 |