Solved this with a reply on the sparkfun forums. Should anyone search for a solution to this the code I’ve used is:
if (Serial.available() > 0) {
receivedByte = Serial.read();
if (receivedByte == 'a'){
printdata();
}
}
Solved this with a reply on the sparkfun forums. Should anyone search for a solution to this the code I’ve used is:
if (Serial.available() > 0) {
receivedByte = Serial.read();
if (receivedByte == 'a'){
printdata();
}
}
This is exactly what I have used for my Razor