/* main() simply calls the Initialization function, prints a welcome message,
* and then continuously repeats the PWM cycle.
*/
int main(void) {
	InitializePeriph();
	while(!USART_GetFlagStatus(USART3, USART_FLAG_TXE)){} // wait for empty transmit buffer
	printf("RGB LED Control with HTML Color Codes!");
	while(!USART_GetFlagStatus(USART3, USART_FLAG_TXE)){} // wait for empty transmit buffer

	while (1) {ColorPWM(&ColorStructure);} // constantly repeats PWM cycle
}