[MacRuby-devel] Macruby and serialport
Laurent Sansonetti
lsansonetti at apple.com
Thu Feb 4 13:06:10 PST 2010
Hi,
On Feb 4, 2010, at 8:03 AM, John-Paul Bader wrote:
> i was recently playing around with Arduino / Microcontrollers and
> wrote a little script to make a hardware itunes volume control out
> of a potentiometer. Now would love to do that with macruby instead
> of this disgrace: http://github.com/hukl/Arduino-Experiments/blob/master/itunes_volume_control/serial_itunes.rb
> but unfortunately serialport won't work because auf the native
> extensions that don't work and IO which seems to be a bit buggy.
>
> Do you guys have any idea how to make macruby talk to the serial
> port or do i have to be a bit more patient ? ;)
We intend to support C extensions written for MRI in the next release.
But if you don't want to wait, you can try the Objective-C wrapper as
mentioned in this thread.
Laurent
More information about the MacRuby-devel
mailing list