昨日届いたArduino(右) 受け取って1時間で速攻で動作チェックした。 左はWiring。 Wiringは結構使った事がある。proce55ingの様に手軽に電子工作を「スケッチ」できる、難しいC言語とかを書かなくても簡単に赤外線やサーボの制御ができたりするツール。最近、avr-libcなどのよりローレベルなライブラリを読み込む事ができるようになって面白い。 ただし、16bitタイマ2つと8bitタイマ1つがWiringに占有されているので、タイマ処理(スレッドの様なもの)が使えない。また、外部入力やUSART受信など全ての割り込みが使えないので、1つのloop()メソッドの中で全てを処理しなければならなくなる。例えば、delay()で停止中にセンサからの入力があっても受け取ることができないのが弱点。ただ、そういう時はCPUを増やす(Wiring/Arudinoを2つ使う)という
今ボードが手元にないけど、インストールしてライブラリとsketchを眺めて、Wiringでできる事をまとめてみた。 ちなみにこれがボード Wiring 1.0 _ALPHA_ >> Download Windows、Mac、Linux版がある。俺はWindowsXPなのでWindows版Wiring0005 ALPHAをDLして、解凍。 解凍したらwiring0005というディレクトリができるので、その中のwiring.exeから起動できる。 proce55ingと同じくsketchに大量のサンプルがある。 リファレンスとスケッチを見たかんじ滅茶苦茶簡単っぽい。phidgetsとどっちが簡単なのかな? processingと同じく、起動時にsetup()関数が実行され、次にloop()関数が無限ループする。draw()は無い。 processingとはシリアルポートで通信して
AtmelのAVRを利用して電子工作 ISPライター ELMのAVRライタ製作集のCOMポート制御ISPアダプタの作成を参考にISPライターを作成。その際に参考にしたのが、s.h.log。かなり参考になる。 ISPライタは自分でも作ったがうまく動かず、保険としてStrawberry Linuxというちょっとあやしげなところで買っておいたAVRライタ(1000円くらい)を使用。 書き込みソフトウェアはELMのAVRライタ製作集にあるWin32版ライタ制御ツール for Windows9X/Me/NT/2k/Xpを使用。このあたりはs.h.logに詳しく載っている。 コンパイラ コンパイラとしてWinAVRを使用。AVR Freaksにてダウンロードできる。新しいバージョンではoutp()などが対応していないらしい。またincludeする場合も少し変更が必要。 #include<io
This page contains the VCP drivers currently available for FTDI devices. Virtual COM port (VCP) drivers cause the USB device to appear as an additional COM port available to the PC. Application software can access the USB device in the same way as it would access a standard COM port. Click here to download the Windows 10, Windows 11 and Windows Server (see note * below) driver installer (setup ex
Arduino ist ein Open-Source-Hard- und Softwareunternehmen, eine Projekt- und Anwendergemeinschaft, die Single-Board-Mikrocontroller und Mikrocontroller-Kits für den Bau digitaler Geräte entwickelt und produziert. Seine Produkte sind unter der GNU Lesser General Public License (LGPL) oder der GNU General Public License (GPL) lizenziert die die Herstellung von Arduino-Boards und die Softwareverteilu
Wiring is an open-source programming framework for microcontrollers. Wiring allows writing cross-platform software to control devices attached to a wide range of microcontroller boards to create all kinds of creative coding, interactive objects, spaces or physical experiences. The framework is thoughtfully created with designers and artists in mind to encourage a community where beginners through
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く