Ephantus Mugo / Mbed 2 deprecated Kenya_2019

Dependencies:   mbed RC_Servo VMA306 PID CNY70 CMPS03 GP2A Pixy

Files at this revision

API Documentation at this revision

Comitter:
haarkon
Date:
Mon May 21 16:17:02 2018 +0000
Child:
1:43d437f7fd59
Commit message:
Canevas de programmation du festival de Robotique de Cachan

Changed in this revision

CMPS03.lib Show annotated file Show diff for this revision Revisions of this file
CNY70.lib Show annotated file Show diff for this revision Revisions of this file
GP2A.lib Show annotated file Show diff for this revision Revisions of this file
PID.lib Show annotated file Show diff for this revision Revisions of this file
Pixy.lib Show annotated file Show diff for this revision Revisions of this file
RC_Servo.lib Show annotated file Show diff for this revision Revisions of this file
VMA306.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CMPS03.lib	Mon May 21 16:17:02 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/FRC-Hackathon/code/CMPS03/#2507a3379f17
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CNY70.lib	Mon May 21 16:17:02 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/FRC-Hackathon/code/CNY70/#95219d950eeb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GP2A.lib	Mon May 21 16:17:02 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/FRC-Hackathon/code/GP2A/#5e591a5b8edd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PID.lib	Mon May 21 16:17:02 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/FRC-Hackathon/code/PID/#24c444f3716b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Pixy.lib	Mon May 21 16:17:02 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/FRC-Hackathon/code/Pixy/#183ebbbc9c2e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/RC_Servo.lib	Mon May 21 16:17:02 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/FRC-Hackathon/code/RC_Servo/#8482eba4d652
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/VMA306.lib	Mon May 21 16:17:02 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/FRC-Hackathon/code/VMA306/#bc016581f12b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon May 21 16:17:02 2018 +0000
@@ -0,0 +1,47 @@
+#include "mbed.h"
+#include "CMPS03.h"
+#include "CNY70.h"
+#include "GP2A.h"
+#include "PID.h"
+#include "Pixy.h"
+#include "RC_Servo.h"
+#include "VMA306.h"
+
+main ()
+{
+Serial      pc          (USBTX, USBRX, 921600);
+
+CMPS03      boussole    (PC_4, PB_9, PB_8);
+
+CNY70       ligneG      (PC_3);
+CNY70       ligneD      (PC_2);
+CNY70       mediane     (PA_7);
+
+GP2A        ld1         (PC_0, 20, 150, 60);
+GP2A        sd1         (PB_0, 7, 80, 20.88);
+GP2A        ld2         (PC_1, 20, 150, 60);
+GP2A        sd2         (PA_4, 7, 80, 20.88);
+
+PID         motG        (TIM4, PA_9, PC_9, PC_8);
+PID         motD        (TIM3, PA_8, PC_6, PC_5);
+
+PIXY        pixy        (PA_1, PA_0);
+
+VMA306      us_G        (PB_15, PA_6);
+VMA306      us_B        (PB_14, PC_7);
+VMA306      us_D        (PB_13, PB_2);
+
+AnalogIn    vbat        (PB_1);
+
+DigitalIn   jack        (PC_13);
+
+InterruptIn Vg          (PA_11);
+InterruptIn Vd          (PA_10);
+
+DigitalOut  led1        (PA_5);
+DigitalOut  led2        (PD_2);
+DigitalOut  disquette   (PA_12);
+
+RC_Servo    ballon      (PB_10, 0);
+RC_Servo    verrou      (PA_15, 0);
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon May 21 16:17:02 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/5aab5a7997ee
\ No newline at end of file