Commit 5f44ca1f authored by Will Langford's avatar Will Langford
Browse files

Update UARTE_vs_Serial.ino

parent 3ed8c69f
Pipeline #1346 passed with stage
in 3 seconds
...@@ -82,6 +82,7 @@ void timer2_start() { ...@@ -82,6 +82,7 @@ void timer2_start() {
void setup() { void setup() {
// Serial.begin(115200); // Serial.begin(115200);
uart_setup();
NRF_GPIO->DIRSET = (1 << enablePin); NRF_GPIO->DIRSET = (1 << enablePin);
NRF_GPIO->OUTSET = (1 << enablePin); NRF_GPIO->OUTSET = (1 << enablePin);
...@@ -89,7 +90,6 @@ void setup() { ...@@ -89,7 +90,6 @@ void setup() {
timer2_init(); timer2_init();
timer2_start(); timer2_start();
uart_setup();
} }
void loop() { void loop() {
......
Supports Markdown
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