Description
Source
Call Graph
Start Line: 346
int main(void)
{
// DBGU configuration
TRACE_CONFIGURE(DBGU_STANDARD, 115200, BOARD_MCK);
printf("-- Getting Started Project %s --\n\r", SOFTPACK_VERSION);
printf("-- %s\n\r", BOARD_NAME);
printf("-- Compiled: %s %s --\n\r", __DATE__, __TIME__);
// Configuration
ConfigurePit();
ConfigureTc();
ConfigureButtons();
ConfigureLeds();
// Main loop
while (1) {
// Wait for LED to be active
while (!pLedStates[0]);
// Toggle LED state if active
if (pLedStates[0]) {
LED_Toggle(0);
printf("1 ");
}
// Wait for 500ms
Wait(500);
}
}