aboutsummaryrefslogtreecommitdiff
path: root/main.s
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2023-12-24 23:03:47 -0600
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2023-12-24 23:03:47 -0600
commitad75550260068087c4351a6a197e10c02fe3b399 (patch)
treeb9d6504843caa03b7aa0e0823672104ec57bfd79 /main.s
parent8c8569bf9575a4f1077a1b8a61f47d5b4ff55727 (diff)
Add blinkN subroutine
Diffstat (limited to 'main.s')
-rw-r--r--main.s6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.s b/main.s
index eb5c8f9..0f137d6 100644
--- a/main.s
+++ b/main.s
@@ -10,4 +10,8 @@ main:
bl start_pll
bl setup_clocks
bl setup_gpio
- b blink
+ bl setup_led
+ movs r0, 3
+ bl blinkN
+stop:
+ b stop