安装 Arduino IDE
1 | $ sudo pacman -S arduino |
问题 1:
1 | (java:7365): Gtk-WARNING **: 23:10:07.697: 无法在模块路径中找到主题引擎:“murrine”, |
解决方案:
1 | $ sudo pacman -S gtk-engines-murrine |
问题 2:
1 2 3 4 5 6 | Picked up JAVA_TOOL_OPTIONS: java.lang.NullPointerException at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:679) at processing.app.Base.onBoardOrPortChange(Base.java:1312) at processing.app.Base.<init>(Base.java:282) at processing.app.Base.main(Base.java:151) |
解决方案:
1 | $ sudo pacman -S arduino-avr-core |
问题 3:
1 2 | 上传项目出错 avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied |
解决方案:
1 | $ sudo chmod u+s /usr/bin/avrdude |
发表回复