git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3349 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
22d8fa4450
commit
79f641c928
|
@ -87,12 +87,12 @@ int main(void) {
|
|||
*/
|
||||
while (TRUE) {
|
||||
palSetPad(GPIOB, GPIOB_LED3);
|
||||
gptStopTimer(&GPTD2);
|
||||
gptStartContinuous(&GPTD2, 5000);
|
||||
chThdSleepMilliseconds(5000);
|
||||
palClearPad(GPIOB, GPIOB_LED3);
|
||||
gptStopTimer(&GPTD2);
|
||||
palClearPad(GPIOB, GPIOB_LED3);
|
||||
gptStartContinuous(&GPTD2, 2500);
|
||||
chThdSleepMilliseconds(5000);
|
||||
gptStopTimer(&GPTD2);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue