Rubyからシリアルポートをいじれると、ぜってーおもしれーと思い、ruby-serialport 0.6をコンパイルしてみました。ruby-termiosを最初にいじってみようとしましたが、わけ分かんな過ぎて諦めました。 FocVさんの配布しているRubyのパッケージ向けのディレクトリ構成です。パッケージにはruby.hがいっしょに入っていたので助かったです。 開発環境をgcc3.3ベースにしたので、使う場合はlibgcc_3.4.4をインストールする必要があると思います。 「ruby-serialport_0.6_arm.ipk.bin」をダウンロード 「libgcc_3.4.4-1_arm.ipk.bin」をダウンロード 一応ruby-termiosもパッケージ置いときます。 「ruby-termios_0.9.4_arm.ipk.bin」をダウンロード とりあえずPHSから位置情報を
Getting ComputerKrafty: Arduino, Ruby, and Blurry Video of Some Blinking LEDs (Arduino Serial Ruby on YouTube) For the last month or so, Brett and Marcus from Tables Turned and I have been meeting weekly to teach ourselves Physical Computing, the use of micro-controllers like those found in cell phones and Roombas to build all kinds of interactive projects, from multimedia installations to scienti
In math, a unary operation is an operation with a single input. In Ruby, a unary operator is an operator which only takes a single ‘argument’ in the form of a receiver. For example, the – on -5 or ! on !true. In contrast, a binary operator, such as in 2 + 3, deals with two arguments. Here, 2 and 3 (which become one receiver and one argument in a method call to +). Ruby only has a handful of unary
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く