Go Down

Topic: reading Adruino data from my mac (Read 532 times) previous topic - next topic

ymotion

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

johnwasser

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.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up