summaryrefslogtreecommitdiff
path: root/2004/n
diff options
context:
space:
mode:
Diffstat (limited to '2004/n')
-rw-r--r--2004/n/asserv/src/main.c68
1 files changed, 44 insertions, 24 deletions
diff --git a/2004/n/asserv/src/main.c b/2004/n/asserv/src/main.c
index 1188ea1..2a1f54e 100644
--- a/2004/n/asserv/src/main.c
+++ b/2004/n/asserv/src/main.c
@@ -25,31 +25,51 @@
#include <18f442.h>
#include <stdlib.h>
-/* Pattes libres.
-40 rb7 (coupee)
-39 rb6 : D3
-38 rb5 : D2
-37 rb4 : D1
-36 rb3 : D0
-35 rb2 : Clk busp
-30 rd7
-29 rd6 : Capteur sharp
-28 rd5 : Capteur doigts
-27 rd4 : Capteur couleur
-24 rc5
-23 rc4
-22 rd3 : Jack
-21 rd2
-18 rc3
-10 re2
-9 re1
-8 re0
-7 ra5
-5 ra3
-4 ra2
-3 ra1
+/* Pattes
+40 b7 : sens compteur gauche
+39 b6 : libre
+38 b5 : libre
+37 b4 : sens compteur droit
+36 b3 : libre
+35 b2 : libre
+34 b1 : libre
+33 b0 : libre
+32 Vdd
+31 Vss
+30 d7 : libre
+29 d6 : libre
+28 d5 : libre
+27 d4 : libre
+26 c7 : rcv
+25 c6 : xmit
+24 c5 : libre
+23 c4 : libre
+22 d3 : libre
+21 d2 : libre
-A1-5 B2-7 C4-5 D2-6 E0-2
+20 d1 : sens moteur gauche
+19 d0 : sens moteur droit
+18 c3 : libre
+17 c2 : pwm motor gauche
+16 c1 : pwm motor droit
+15 c0 : compteur droit
+14 osc2
+13 osc1
+12 Vss
+11 Vdd
+10 e2 : libre
+9 e1 : libre
+8 e0 : libre
+7 a5 : libre
+6 a4 : compteur gauche
+5 a3 : libre
+4 a2 : libre
+3 a1 : libre
+2 a0 : libre
+1 /MCLR, Vpp
+
+Libre: a b c d e
+ 0123-5 0123-56- ---345-- --234567 012
*/
/* Configuration générale. */