git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3349 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2011-09-19 12:09:16 +00:00
parent 22d8fa4450
commit 79f641c928
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}