概要 †
環境開発設定 †Ubuntu 13.04 †
sudo add-apt-repository -y ppa:webupd8team/java sudo apt-get -y update sudo apt-get -y install oracle-java7-installer sudo apt-get -y install arduino arduino-core
sudo chmod a+rw /dev/ttyACM0
arduino
int led = 13; void setup(){ pinMode(led,OUTPUT); } void loop(){ digitalWrite(led, HIGH); delay(1000); digitalWrite(led, LOW); delay(1000); }
|