Arduino demo netbeans project
- Install Netbeans C++ 8.2 or later https://netbeans.org/
- Install avr toolchains in terminal: sudo apt-get install gcc-avr binutils-avr gdb-avr avr-libc avrdude
- In netbeans open Tools -> Options -> C++ -> Build Tools
- Click Add
- Set Base Directory: "/usr/bin" Tool Collection Family: "GNU" Tool Collection Name: "AVR" And click OK
- In every sections of compilers, assembler and debbuger add prefix: "avr-" as "/usr/bin/avr-gcc" "/usr/bin/avr-g++" "/usr/bin/avr-as" "/usr/bin/avr-gdb"
- Check Code Assistance in tabs, Include Dirs and macros not be empty
- Click OK
- Clone Project to specific dir git clone https://github.com/YouROK/ArduinoNetbeansProject.git
- In Netbeans open this project and rename if need
- Enjoy...