Commit a45a3608 by Sam Calisch

Update uarte.ino

parent 0b161578
Pipeline #1199 passed with stage
in 4 seconds
......@@ -26,10 +26,10 @@ void setup() {
while(!NRF_UARTE0->EVENTS_ENDTX){}
//recv data, untested
NRF_UARTE0->EVENTS_RXDRDY = 0;
NRF_UARTE0->RXD.PTR = (uint32_t)(&uart_rx_data); //reset pointer to start of buffer
NRF_UARTE0->TASKS_STARTRX = 1; //trigger start task to recieve data from host
while(!NRF_UARTE0->EVENTS_RXDRDY){}
//NRF_UARTE0->EVENTS_RXDRDY = 0;
//NRF_UARTE0->RXD.PTR = (uint32_t)(&uart_rx_data); //reset pointer to start of buffer
//NRF_UARTE0->TASKS_STARTRX = 1; //trigger start task to recieve data from host
//while(!NRF_UARTE0->EVENTS_RXDRDY){}
}
void loop() {}
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