aboutsummaryrefslogtreecommitdiff
path: root/projects/board-test/led-test.c
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-05-12 19:49:20 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-05-12 19:49:20 +0200
commit2ddb4f618f34582ea8c9731898651284aec600e7 (patch)
tree2b20c42d28f87ba9065796d58f47eb98dc694936 /projects/board-test/led-test.c
parent7a4ca0d663390446b2e17d25352d14c0306beeab (diff)
Update LED pinouts, don't think the colors are right yet though.
Diffstat (limited to 'projects/board-test/led-test.c')
-rw-r--r--projects/board-test/led-test.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/projects/board-test/led-test.c b/projects/board-test/led-test.c
index 5e4401f..7e72788 100644
--- a/projects/board-test/led-test.c
+++ b/projects/board-test/led-test.c
@@ -7,6 +7,14 @@
#define DELAY() HAL_Delay(125)
+/*
+ * PK4 = ARM_LED1 - GREEN
+ * PK5 = ARM_LED2 - RED
+ * PK6 = ARM_LED3 - BLUE
+ ' PK7 = ARM_LED4 - YELLOW
+ */
+
+
void toggle_led(uint32_t times, uint32_t led_pin)
{
uint32_t i;