Poll
Question: communication?
xcode - 0 (0%)
communication - 0 (0%)
Total Voters: 0

Pages: [1]   Go Down
Author Topic: reading Adruino data from my mac  (Read 518 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

How do I create an application using xcode that will read information from arduino?
For example, I want my Mac (master) to instruct Arduino board (slave) to read the temperature from a sensor, and present it on the Mac screen.
I'm looking for code samples (for xcode as well as for the Adruino borad) that implement such a communication channel.
Can it be USB based?
Thanks a lot guys!
ymotion
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8967
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The USB interface of the Arduino reads and writes like a serial port.  If you can find examples of using serial ports in XCode then you should be all set.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: