Now I have the communication worked out on the receiving end I am not able to send any data to the arduino zero board. Here is part of my sketch
[code] while (Serial.available() > 1)
{
Serial.println(“Incomming”);
int inChar = Serial.parseInt();
Serial.println(inChar);
if (Serial.read() == '*')
{
Serial.flush();
switch (inChar)
{
case 1:
setTheTime();
break;
case 2:
setTheDate();
break;
}
}
}
[/code]
I have added a button to the xojo app to send the data here is the code
dim msg as string
msg=TextField1.text +chr(42)
SerialController.Write(msg)
OutputArea.Text = OutputArea.Text + msg
if SerialController.WriteError then
OutputArea.Text=OutputArea.Text+"Error : "+msg+Chr(13)
end if
Once again I am begging for help. Also it works OK with putty and coolterm and serial monitor so I know there is a way to make it work. Thanks for reading.