Objective-C的串行 - 的Mac OS X [英] Objective-C Serial - Mac OS X

查看:199
本文介绍了Objective-C的串行 - 的Mac OS X的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前运行在跟随着终端通过USB串口发送命令。

I'm currently running the followin in Terminal to send a command over USB serial.

/Users/drummerboyx/Library/Scripts/arduino-serial -b 9600 -p /dev/tty.usbserial-A800ev0Z -s 1

有没有办法在Objective-C这样做呢?

Is there a way to do this in Objective-C?

推荐答案

一些谷歌福发现:

  • Serial Communication Cocoa Framework (on arduino.cc!)
  • AMSerialPort

我知道这件事pretty多没什么,但名字<一个href=\"http://developer.apple.com/library/mac/#documentation/DeviceDrivers/Conceptual/IOKitFundamentals/Introduction/Introduction.html\">\"IOKit\"听起来也pretty看好...

I know pretty much nothing about it, but the name "IOKit" also sounds pretty promising...

这篇关于Objective-C的串行 - 的Mac OS X的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆