Open
Description
I am using Nordic board nRF51422 PCA10028 , I am trying this code :
byte byteRead;
#include "MyBoardNRF5.h"
void setup() {
// Turn the Serial Protocol ON
Serial.begin(9600);
}
void loop() {
//Serial.print("testing");
// check if data has been sent from the computer:
if (Serial.available()) {
// read the most recent byte
byteRead = Serial.read();
//ECHO the value that was read, back to the serial port.
Serial.write(byteRead);
}
}
But I dont get serial data though set correct baud rate 9600 .
Metadata
Metadata
Assignees
Labels
No labels