Difference between revisions of "Arduino: Instalasi di Ubuntu"

From OnnoWiki
Jump to navigation Jump to search
Line 7: Line 7:
 
Kalau kita ingin compile
 
Kalau kita ingin compile
  
  sudo apt-get install gcc-avr avrdude gcc avr-libc libantlr-java libecj-java \
+
  sudo apt-get install gcc-avr avrdude gcc avr-libc \
  libjna-java liboro-java openjdk-6-jdk  
+
libantlr-java libecj-java \
 +
  libjna-java liboro-java openjdk-7-jdk  
  
  

Revision as of 04:48, 16 November 2015

Instalasi

Untuk menggunakan biasa

apt-get install librxtx-java arduino-core arduino

Kalau kita ingin compile

sudo apt-get install gcc-avr avrdude gcc avr-libc \
libantlr-java libecj-java \
libjna-java liboro-java openjdk-7-jdk 


Set Ijin ke Serial Port

Beri ijin akses ke serial port

sudo usermod -a -G tty yourUserName
sudo usermod -a -G dialout yourUserName 


Referensi

Pranala Menarik