2010年6月1日火曜日

Arduino and Isadora

Photosensor

Controlling Isadora with Arduino

I made a controller for Isadora with Arduino analog input.

=======================================

/*
integration of the swithch with analoginput and Isadora
*/

int val;
int ana = 0;

void setup()
{
Serial.begin(9600);
}
void loop()
{
val = analogRead(ana);
  Serial.println(1,DEC); // this is the most different command from digital one
Serial.println(val);
delay(500);
}
=================================--

I shoot a demo movie

I will post it on youtube later


Arduino and Isadora

Arduino and Isadora

Memo for my self

For analogRead, use DEC (decimal)

For digitalRead, use BYTE(2 bit)

Very useful resource for Arduino and Isadora

http://forum.troikatronix.com/