git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13314 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2020-01-30 15:49:44 +00:00
parent 5490bcb764
commit 4cea05a208
1 changed files with 6 additions and 6 deletions

View File

@ -29,17 +29,17 @@ static THD_FUNCTION(Thread1, arg) {
(void)arg;
chRegSetThreadName("blinker");
while (true) {
palSetLine(LINE_LD1);
palSetLine(LINE_LED1);
chThdSleepMilliseconds(50);
palSetLine(LINE_LD2);
palSetLine(LINE_LED2);
chThdSleepMilliseconds(50);
palSetLine(LINE_LD3);
palSetLine(LINE_LED3);
chThdSleepMilliseconds(200);
palClearLine(LINE_LD1);
palClearLine(LINE_LED1);
chThdSleepMilliseconds(50);
palClearLine(LINE_LD2);
palClearLine(LINE_LED2);
chThdSleepMilliseconds(50);
palClearLine(LINE_LD3);
palClearLine(LINE_LED3);
chThdSleepMilliseconds(200);
}
}