特に縛りなく: twitterからarduinoに指示を出す

control arduino from twitter (Stweitter)

特に縛りなく: twitterからarduinoに指示を出す.

  • OAuth Server : http://stewgate-u.appspot.com/
  • Twitter Lib. for Arduino : http://arms22.blog91.fc2.com/blog-entry-296.html
  • Lamp contorl from Twitter
Advertisements

Arduino library path in Linux?

After installing Arduino IDE 1.0.x, use scripts as follows,

cat /usr/bin/arduino | grep APPDIR

It return “APPDIR=/usr/share/arduino”

 $:ls /usr/share/arduino/

arduinopc.jar  examples  hardware  lib  libraries  reference  tools

Then, add user’s library on “libraries” folder.

 

 

Arduino syntax file – Syntax file for Arduino .PDE files : vim online

Arduino syntax file – Syntax file for Arduino .PDE files : vim online.

This syntax file provides syntax highlighting like the Arduino IDE. That is, Arduino specific names like digitalWrite is highlighted in addition to C++ syntax. 

  1. copy arduino.vim to /plugs and /syntax folder

  2. To force C like syntax highlighting to arduino .ino files, you can add the following lines to your ~/.vimrc file:

syntax on
filetype on

au BufRead,BufNewFile *.pde set filetype=arduin
au BufNewFile,BufRead *.ino set filetype=arduino