//**************************************************************************** // //! Main function //! //! \param none //! //! This function //! 1. Invokes the LEDBlinkyTask //! //! \return None. // //**************************************************************************** int main() { // // Initialize Board configurations // BoardInit(); // // Power on the corresponding GPIO port B for 9,10,11. // Set up the GPIO lines to mode 0 (GPIO) // PinMuxConfig(); #ifndef NOTERM // // Configuring UART // InitTerm(); #endif DisplayBanner("Lab 0"); Message("\t\t****************************************************\n\r"); Message("\t\t\t CC3200 UART Echo Usage \n\r"); Message("\t\t To get to state 3, the user must press and hold SW2 \n\r"); Message("\t\t then press SW3 without releasing SW2 \n\r"); Message("\t\t and then release SW2 while continuing to press SW3\n\r"); Message("\n\n\n\r"); GPIO_IF_LedConfigure(LED1|LED2|LED3); GPIO_IF_LedOff(MCU_ALL_LED_IND); // // Start the LEDBlinkyRoutine // LEDBlinkyRoutine(); return 0; }
//**************************************************************************** // //! Main function //! //! \param none //! //! This function //! 1. Invokes the LEDBlinkyTask //! //! \return None. // //**************************************************************************** int main() { // // Initialize Board configurations // BoardInit(); // // Power on the corresponding GPIO port B for 9,10,11. // Set up the GPIO lines to mode 0 (GPIO) // PinMuxConfig(); GPIO_IF_LedConfigure(LED1|LED2|LED3); GPIO_IF_LedOff(MCU_ALL_LED_IND); // // Start the LEDBlinkyRoutine // LEDBlinkyRoutine(); return 0; }