Commit 2f99e458 authored by kamako's avatar kamako
Browse files

Added transmission and re-enabled reception

parent 2224b21c
......@@ -47,7 +47,7 @@ uint8_t tab_state = 0;
}
void __attribute__ ((interrupt)) GPIO2_IRQHandler( void )
{
//UART_send(&g_uart,"B3\r\n",sizeof("B3\r\n"));
UART_send(&g_uart,arrowPos,1);
//PICK DESIGN AND GO TO LOADING SCREEN
display_inprogress();
delay();
......@@ -110,9 +110,10 @@ int main() {
/*
uint8_t i = 1;
display_inprogress();
*/
MSS_UART_set_rx_handler( &g_mss_uart1, uart1_rx_handler, MSS_UART_FIFO_SINGLE_BYTE );
UART_init(&g_uart,COREUARTAPB0_BASE_ADDR,BAUD_VALUE_115200,(DATA_8_BITS|NO_PARITY));
*/
init_tabs(0);
while(1){}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment