You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 .
The text was updated successfully, but these errors were encountered:
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 .
The text was updated successfully, but these errors were encountered: