Skip to content

Commit a256047

Browse files
lumbricwerkfreiraum
authored andcommitted
Update README.md after refactoring Makefile
1 parent 0721c72 commit a256047

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

README.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,31 @@ This code controls the servos and the scale and communicates with the PC using a
66
Dependencies
77
============
88
Debian:
9+
910
```
10-
sudo apt-get install arduino python-pip picocom
11-
sudo pip install ino pyserial
11+
sudo apt-get install make avrdude
1212
```
1313

14-
Fedora:
14+
See also .travis.yml:
15+
1516
```
16-
sudo yum install arduino python-pip picocom
17-
sudo pip install ino pyserial
17+
cd /tmp/
18+
wget https://downloads.arduino.cc/arduino-1.8.9-linux64.tar.xz
19+
tar xf arduino-1.8.9-linux64.tar.xz
20+
sudo mv arduino-1.8.9 /opt
1821
```
19-
22+
23+
(Arduino from apt is way too old, also 1.8.5 seems to make troubles for some
24+
reason.)
25+
26+
2027
Compile + Upload + Connect to serial
2128
====================================
22-
make
29+
make && ./upload.sh
30+
31+
See Makefile for details. Currently mega2560 used, Makefile and upload.sh needs
32+
to be adapted (see 0721c72e).
2333

24-
See Makefile for details. Tested with Arduino Duemilanove and Arduino Leonardo.
2534

2635
Serial Interface
2736
=====================

0 commit comments

Comments
 (0)