Skip to content
Snippets Groups Projects
Commit 5f44ca1f authored by Will Langford's avatar Will Langford
Browse files

Update UARTE_vs_Serial.ino

parent 3ed8c69f
Branches master
No related tags found
No related merge requests found
Pipeline #
...@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment