Commit b6312db08523fb7b6f1bf8bb1bba4d503adacc48
1 parent
bd31e167
Attributions
Showing
3 changed files
with
116 additions
and
3 deletions
Show diff stats
README.md
@@ -7,11 +7,14 @@ DJERABA Taky - HUBERT Thomas - PREUD'HOMME Geoffrey | @@ -7,11 +7,14 @@ DJERABA Taky - HUBERT Thomas - PREUD'HOMME Geoffrey | ||
7 | 7 | ||
8 | Pour générer un fichier PDF, assurez-vous d'avoir lancé `./configure` une fois sans erreur, puis lancez la commande `make`. | 8 | Pour générer un fichier PDF, assurez-vous d'avoir lancé `./configure` une fois sans erreur, puis lancez la commande `make`. |
9 | 9 | ||
10 | +*(ne fonctionne que sur un environnement Linux)* | ||
10 | 11 | ||
11 | ## Programme | 12 | ## Programme |
12 | 13 | ||
13 | Pour envoyer un programme sur l'Arduino, assurez-vous d'avoir lancé `./configure` une fois sans erreur, puis lancez la commande `make programme.upload`, en supposant qu'il existe un fichier `programme.txt` ou `programme.hex`. Les fichiers intermédiaires nécessaires seront reconstruits si besoin. Si vous voulez juste vérifier que ça compile, `make programme.hex`. | 14 | Pour envoyer un programme sur l'Arduino, assurez-vous d'avoir lancé `./configure` une fois sans erreur, puis lancez la commande `make programme.upload`, en supposant qu'il existe un fichier `programme.txt` ou `programme.hex`. Les fichiers intermédiaires nécessaires seront reconstruits si besoin. Si vous voulez juste vérifier que ça compile, `make programme.hex`. |
14 | 15 | ||
16 | +*(ne fonctionne que sur un environnement Linux)* | ||
17 | + | ||
15 | ## Liens utiles | 18 | ## Liens utiles |
16 | 19 | ||
17 | [Schematics Arduino 2560 ↔ Atmega 2560](https://www.arduino.cc/en/uploads/Main/arduino-mega2560_R3-sch.pdf) | 20 | [Schematics Arduino 2560 ↔ Atmega 2560](https://www.arduino.cc/en/uploads/Main/arduino-mega2560_R3-sch.pdf) |
@@ -19,7 +22,7 @@ Pour envoyer un programme sur l'Arduino, assurez-vous d'avoir lancé `./configur | @@ -19,7 +22,7 @@ Pour envoyer un programme sur l'Arduino, assurez-vous d'avoir lancé `./configur | ||
19 | 22 | ||
20 | ## Attributions | 23 | ## Attributions |
21 | 24 | ||
22 | -Ce répertoire contient dans le dossier /scripts (entre autres) des programmes réalisés par certains professeurs de Polytech Lille (M. Blaise Conrad entre autres, si je ne m'abuse), dont les conditions d'utilisation et de redistribution nous sont inconnues. IL FAUT DONC EN AUCUN CAS LES REDISTRIBUER, ENCORE MOINS HORS DE L'ÉCOLE. | 25 | +Ce dépôt contient des éxecutables de programmes réalisés par Blaise CONRAD, professeur à Polytech Lille. Leur redistribution n'est pas autorisée. |
23 | 26 | ||
24 | -J'aurais bien fait ça de manière clean et polie, mais on fait déjà beaucoup de choses pour ce petit tutorat je trouve ^^ | 27 | +![Logo de Polytech Lille](logo-polytech-lille.svg) |
25 | 28 |
configure
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | 2 | ||
3 | echo "Vérification de la configuration système..." | 3 | echo "Vérification de la configuration système..." |
4 | 4 | ||
5 | -echo "Astuce : Pour tout installer d'un coup : sudo apt-get install build-essential nodejs npm avrdude" | 5 | +echo "Astuce : Pour tout installer d'un coup : sudo apt-get install build-essential nodejs npm avrdude wine" |
6 | 6 | ||
7 | echo "Vérification des dépendances pour la compilation du compte-rendu..." | 7 | echo "Vérification des dépendances pour la compilation du compte-rendu..." |
8 | 8 |
@@ -0,0 +1,110 @@ | @@ -0,0 +1,110 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | +<!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
3 | + | ||
4 | +<svg | ||
5 | + xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
6 | + xmlns:cc="http://creativecommons.org/ns#" | ||
7 | + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
8 | + xmlns:svg="http://www.w3.org/2000/svg" | ||
9 | + xmlns="http://www.w3.org/2000/svg" | ||
10 | + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
11 | + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
12 | + id="svg2" | ||
13 | + xml:space="preserve" | ||
14 | + height="311.0441" | ||
15 | + width="1000" | ||
16 | + version="1.1" | ||
17 | + inkscape:version="0.48.1 r9760" | ||
18 | + sodipodi:docname="logo-polytech-lille.svg"><sodipodi:namedview | ||
19 | + pagecolor="#ffffff" | ||
20 | + bordercolor="#666666" | ||
21 | + borderopacity="1" | ||
22 | + objecttolerance="10" | ||
23 | + gridtolerance="10" | ||
24 | + guidetolerance="10" | ||
25 | + inkscape:pageopacity="0" | ||
26 | + inkscape:pageshadow="2" | ||
27 | + inkscape:window-width="1672" | ||
28 | + inkscape:window-height="1023" | ||
29 | + id="namedview21" | ||
30 | + showgrid="false" | ||
31 | + fit-margin-top="0" | ||
32 | + fit-margin-left="0" | ||
33 | + fit-margin-right="0" | ||
34 | + fit-margin-bottom="0" | ||
35 | + inkscape:zoom="1.543" | ||
36 | + inkscape:cx="500" | ||
37 | + inkscape:cy="155.52205" | ||
38 | + inkscape:window-x="0" | ||
39 | + inkscape:window-y="19" | ||
40 | + inkscape:window-maximized="0" | ||
41 | + inkscape:current-layer="svg2" /><metadata | ||
42 | + id="metadata8"><rdf:RDF><cc:Work | ||
43 | + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type | ||
44 | + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs | ||
45 | + id="defs6" /><g | ||
46 | + id="g2998" | ||
47 | + transform="matrix(4.5201295,0,0,4.5201295,0.00122496,0.01075791)"><g | ||
48 | + transform="matrix(1.25,0,0,-1.25,76.859729,145.61012)" | ||
49 | + id="g10" | ||
50 | + style="fill-rule:nonzero"><path | ||
51 | + d="m 2.6251,90.773 2.7026,-0.0046 c 0.01968,0 0.03936,0.0046 0.06768,0.0046 0.58488,-0.0046 1.0423,0.0077 1.3274,0.08544 0.28488,0.09 0.37488,0.16032 0.49224,0.43416 0.07032,0.18744 0.1284,0.48456 0.1284,0.91008 0.00456,0.90574 -0.1248,1.3239 -0.25776,1.4411 -0.10872,0.13687 -0.44904,0.23062 -1.188,0.22313 h -3.2726 v -3.0939 z m -2.0429,-5.5274 0,10.418 5.8481,0 C 7.5309,95.6673 8.34,95.30734 8.8051,94.6558 9.26638,94.01454 9.3787,93.2027 9.38254,92.3422 9.3787,91.90516 9.3871,91.1045 9.00742,90.3584 8.6251,89.59616 7.77002,88.9606 6.36282,88.9755 h -3.7378 v -3.7303 h -2.0429" | ||
52 | + id="path22" | ||
53 | + inkscape:connector-curvature="0" | ||
54 | + style="fill:#005187" /><path | ||
55 | + d="m 18.593,93.941 c -0.87096,0.0037 -1.321,-0.11719 -1.5038,-0.30845 -0.19872,-0.18 -0.33552,-0.62155 -0.33192,-1.5282 v -3.4133 c 0,-0.918 0.1764,-1.289 0.38736,-1.4532 0.21,-0.18384 0.69096,-0.27288 1.4484,-0.27288 h 1.4335 c 0.76584,0 1.243,0.08904 1.4568,0.27288 0.21096,0.16416 0.38328,0.5352 0.38328,1.4532 v 3.4133 c 0.0038,0.90665 -0.1368,1.3482 -0.33168,1.5282 -0.18,0.19126 -0.63384,0.31219 -1.5084,0.30845 h -1.4335 m 1.4371,1.7972 c 1.3642,-0.01594 2.34,-0.21094 3.0122,-0.83251 0.67224,-0.63281 0.87096,-1.5694 0.87096,-2.8013 v -3.4133 c 0,-1.1767 -0.23808,-2.0981 -0.91416,-2.7077 -0.67968,-0.60456 -1.6519,-0.81168 -2.9726,-0.81168 h -1.4335 c -1.3162,0 -2.2922,0.20712 -2.9681,0.81168 -0.67704,0.6096 -0.91032,1.531 -0.91032,2.7077 v 3.4133 c 0,1.232 0.19872,2.1685 0.86232,2.8013 0.67608,0.62158 1.6529,0.81658 3.0161,0.83251 h 1.4335" | ||
56 | + id="path24" | ||
57 | + inkscape:connector-curvature="0" | ||
58 | + style="fill:#005187" /><path | ||
59 | + d="m 30.34,85.246 0,10.418 2.0429,0 0,-8.6214 5.4216,0 0,-1.7971 -7.4645,0" | ||
60 | + id="path26" | ||
61 | + inkscape:connector-curvature="0" | ||
62 | + style="fill:#005187" /><path | ||
63 | + d="m 45.582,85.25 0,4.2778 -4.289,6.1369 2.43,0 2.9371,-4.1718 2.9261,4.1718 2.4797,0 -4.4374,-6.1369 0,-4.2778 -2.0465,0" | ||
64 | + id="path28" | ||
65 | + inkscape:connector-curvature="0" | ||
66 | + style="fill:#005187" /><path | ||
67 | + d="m 59.917,85.25 0,8.6175 -3.449,0 0,1.7972 8.9419,0 0,-1.7972 -3.449,0 0,-8.6175 -2.0438,0" | ||
68 | + id="path30" | ||
69 | + inkscape:connector-curvature="0" | ||
70 | + style="fill:#005187" /><path | ||
71 | + d="m 71.121,85.246 0,10.418 7.6884,0 0,-1.7972 -5.6371,0 0,-2.4178 5.3868,0 0,-1.7316 -5.3868,0 0,-2.6748 5.6371,0 0,-1.7971 -7.6884,0" | ||
72 | + id="path32" | ||
73 | + inkscape:connector-curvature="0" | ||
74 | + style="fill:#005187" /><path | ||
75 | + d="m 88.59,85.172 -0.0036,0 c -1.051,0 -1.939,0.3 -2.5661,0.90168 -0.6252,0.60936 -0.9468,1.489 -0.94224,2.5277 v 3.7068 c -0.01968,1.4381 0.54288,2.4141 1.4729,2.895 0.9216,0.47345 2.0738,0.53062 3.3826,0.53532 h 0.99648 c 1.1635,0 2.011,-0.22313 2.5903,-0.79313 0.56544,-0.57845 0.7332,-1.3978 0.7332,-2.3831 v -0.72182 h -2.0345 v 0.68244 c 0,0.65345 -0.0984,0.99658 -0.24648,1.1409 -0.1284,0.14813 -0.46512,0.28126 -1.2187,0.27751 h -0.67224 c -0.93,0.0037 -1.6126,-0.03938 -2.0616,-0.16032 -0.4536,-0.12842 -0.6252,-0.27281 -0.7584,-0.555 -0.0852,-0.18655 -0.14424,-0.47626 -0.14424,-0.88301 v -2.628 c 0,-0.81264 0.01968,-1.4455 0.1284,-1.86 0.11712,-0.41808 0.24648,-0.58968 0.55488,-0.73776 0.21576,-0.09 0.54288,-0.15192 1.019,-0.15192 h 1.4261 c 0.7116,0 1.2233,0.0384 1.531,0.13224 0.31296,0.10584 0.39552,0.18744 0.48936,0.38256 0.05424,0.1452 0.09264,0.36288 0.08904,0.67584 v 1.187 h 2.0513 v -1.3154 c 0.01104,-1.1842 -0.48,-2.0232 -1.278,-2.4142 -0.7884,-0.39072 -1.7614,-0.4368 -2.8358,-0.44136 h -1.7026" | ||
76 | + id="path34" | ||
77 | + inkscape:connector-curvature="0" | ||
78 | + style="fill:#005187" /><path | ||
79 | + d="m 107.98,85.246 0,4.4064 -5.3906,0 0,-4.4064 -2.0429,0 0,10.418 2.0503,0 -0.007,-4.215 5.3906,0 0,4.215 2.0503,0 0,-10.418 -2.0503,0" | ||
80 | + id="path36" | ||
81 | + inkscape:connector-curvature="0" | ||
82 | + style="fill:#005187" /><path | ||
83 | + d="m 114.81,95.414 c -0.0581,-0.36655 -0.3432,-0.58219 -0.66648,-0.58219 -0.48576,0 -0.79032,0.35906 -0.79032,0.82032 0,0.46874 0.28968,0.82032 0.78192,0.82032 0.33168,0 0.6168,-0.195 0.6684,-0.56626 H 114.51 c -0.0394,0.16781 -0.1884,0.27281 -0.37488,0.27281 -0.27864,0 -0.42576,-0.22219 -0.42576,-0.52313 0,-0.285 0.15936,-0.52687 0.43416,-0.52687 0.19872,0 0.342,0.10874 0.36648,0.285 h 0.3 z m -0.72552,-0.85219 c 0.5736,0 1.0387,0.45751 1.0387,1.0819 0,0.62532 -0.46512,1.0828 -1.0387,1.0828 -0.5748,0 -1.0351,-0.45751 -1.0351,-1.0828 0,-0.62436 0.46032,-1.0819 1.0351,-1.0819 m 0,2.4534 c 0.75,0 1.4136,-0.53532 1.4136,-1.3716 0,-0.82781 -0.6636,-1.3744 -1.4136,-1.3744 -0.73896,0 -1.4026,0.54655 -1.4026,1.3744 0,0.83626 0.6636,1.3716 1.4026,1.3716" | ||
84 | + id="path38" | ||
85 | + inkscape:connector-curvature="0" | ||
86 | + style="fill:#005187" /><path | ||
87 | + d="m -35.957,116.49 c -12.625,0 -23.145,-8.9766 -25.531,-20.895 h 10.656 c 0.77719,2.2744 2.0738,4.305 3.7463,5.985 2.8631,2.8547 6.7659,4.605 11.129,4.6087 4.3584,-0.004 8.2574,-1.7541 11.124,-4.6087 2.8558,-2.8631 4.6051,-6.7622 4.6099,-11.125 -0.0048,-4.3632 -1.7542,-8.2661 -4.6099,-11.129 -2.8668,-2.8517 -6.7658,-4.6058 -11.124,-4.6087 -4.3632,0.0029 -8.266,1.757 -11.129,4.6087 -1.6603,1.6642 -2.9372,3.6845 -3.7266,5.9306 h -10.653 v -13.274 c 0,-11.187 9.6844,-10.536 9.6844,-10.536 l 0.0075,8.3242 c 4.3819,-3.3545 9.8634,-5.3551 15.817,-5.3551 14.383,0.0048 26.031,11.656 26.031,26.039 0,14.379 -11.647,26.031 -26.031,26.035" | ||
88 | + id="path40" | ||
89 | + inkscape:connector-curvature="0" | ||
90 | + style="fill:#009ee0" /><path | ||
91 | + d="m 1.7025,73.289 3.809,0 0,-1.0706 -4.9997,0 0,7.7774 1.1906,0 0,-6.7068" | ||
92 | + id="path42" | ||
93 | + inkscape:connector-curvature="0" | ||
94 | + style="fill:#009ee0" /><path | ||
95 | + d="m 7.6677,79.996 0,-7.7775 1.1906,0 0,7.7775 -1.1906,0 z" | ||
96 | + id="path44" | ||
97 | + inkscape:connector-curvature="0" | ||
98 | + style="fill:#009ee0" /><path | ||
99 | + d="m 12.883,73.289 3.8081,0 0,-1.0706 -5.0006,0 0,7.7774 1.1926,0 0,-6.7068" | ||
100 | + id="path46" | ||
101 | + inkscape:connector-curvature="0" | ||
102 | + style="fill:#009ee0" /><path | ||
103 | + d="m 20.039,73.289 3.8129,0 0,-1.0706 -5.0045,0 0,7.7774 1.1916,0 0,-6.7068" | ||
104 | + id="path48" | ||
105 | + inkscape:connector-curvature="0" | ||
106 | + style="fill:#009ee0" /><path | ||
107 | + d="m 26.965,76.673 3.7884,0 0,-0.91896 -3.7884,0 0,-2.5358 3.9871,0 0,-0.99936 -5.1758,0 0,7.7774 5.1497,0 0,-1.0039 -3.961,0 0,-2.3194" | ||
108 | + id="path50" | ||
109 | + inkscape:connector-curvature="0" | ||
110 | + style="fill:#009ee0" /></g></g></svg> | ||
0 | \ No newline at end of file | 111 | \ No newline at end of file |