I am trying to plan a build using 2 Spartan 3 OEM Lites, communicating via UART and displaying the data on a screen and data logging. My question before I make my purchase is do you have an example line of code that would send the “G” command and then the line of code that would read and store the return value? I am a beginner at projects like this but I have some basic knowledge.
Thanks
void setup(){
Serial.begin(9600);
}
void loop(){
Serial.write(G);
sensordata = Serial.read();
delay(100);
}