readme
This commit is contained in:
parent
a5536e63b7
commit
b4ebe4978b
11
colors.S
11
colors.S
@ -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
4
main.S
@ -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:
|
||||||
|
21
readme.md
21
readme.md
@ -41,14 +41,23 @@ Long pulse: 1.18us
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
## Load Time
|
||||||
|
|
||||||
During of loading data into five LEDs: 297us
|
During of loading data into five LEDs: 297us
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
| # of LEDs | Load Time |
|
During of loading data into six LEDs: 297us
|
||||||
| --------- | --------- |
|
|
||||||
| 5 | 297us |
|

|
||||||
| 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 |
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user