, , - Ethernet Arduino WiFi. Arduino - http, .
, BT, COM-. -. .
, iPhone, Arduino .
:
http://192.168.1.101/?1
192.168.1.101 = IP Arduino
? 1 , PIN13 ( )
:
EthernetClient client = server.available();
while (client.connected())
{
if (client.available())
{
char cVar = client.read();
if (cVar != '?') return;
Serial.Print(cVar)
if (cVar == '1') digitalWrite(13, HIGH);
}
}
, !
Let me know what you decide and how it works. I need to read further http://blog.makezine.com/2012/03/19/bluetooth-4-0-from-arduino-to-iphone-no-jailbreaking-no-mfi/
Thanks for this link ygbr!
source
share