the aprilbeacon is connected to arduino uno.And I have to read a data which updates very fast send by iPhone.Here is the arduino code:
while(Serial.available())
{
readStr=Serial.readString();
Serial.print(readStr);
Serial.print("\n");
}
Only when end updating I can get the data.
Is there any way that can read the data by actual time?