This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
documentation:fa20:programarduinounoinc [2021/01/13 18:39] ferdi |
documentation:fa20:programarduinounoinc [2021/03/18 09:16] (current) ferdi |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Program Arduino Uno in C ====== | ====== Program Arduino Uno in C ====== | ||
- | test | ||
===== Windows ===== | ===== Windows ===== | ||
Line 13: | Line 12: | ||
< | < | ||
- | '' | + | cd path/ |
</ | </ | ||
- | '' | + | {{ :documentation: |
The important bit is you Makefile. Depending on your configuration you might have to adjust the name of the USB-port your Arduino is connected to: | The important bit is you Makefile. Depending on your configuration you might have to adjust the name of the USB-port your Arduino is connected to: | ||
< | < | ||
- | + | AVRDUDE = avrdude -q -V -p atmega328p -C C: | |
- | '' | + | |
</ | </ | ||
Line 35: | Line 33: | ||
For Linux install avrgcc toolchain: | For Linux install avrgcc toolchain: | ||
< | < | ||
- | sudo apt install avrdude gcc-avr avr-libc make**'' | + | sudo apt install avrdude gcc-avr avr-libc make |
</ | </ | ||
open terminal/ | open terminal/ | ||
Line 42: | Line 40: | ||
Linux: usually Ctrl+Alt+T\\ | Linux: usually Ctrl+Alt+T\\ | ||
- | put the files (download below) in a folder | + | put the files (download below) in a folder path/ |
open the Makefile with a text editor and edit the following line: \\ | open the Makefile with a text editor and edit the following line: \\ | ||
Line 75: | Line 73: | ||
{{ : | {{ : | ||
+ | [<>] |