Lab5

Dependencies:   HEPTA_SENSOR mbed HEPTA_EPS HEPTA_COM

Committer:
HeptaSatTraining2019
Date:
Tue Aug 27 01:01:24 2019 +0000
Revision:
24:cfcbac775459
Parent:
21:92c25e853b87
Child:
25:5fd40a170032

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 0:bdbd3d6fc5d5 1 #include "mbed.h"
HeptaSatTraining2019 21:92c25e853b87 2 #include"HEPTA_EPS.h"
HeptaSatTraining2019 21:92c25e853b87 3 #include"HEPTA_CDH.h"
HeptaSatTraining2019 21:92c25e853b87 4 #include"HEPTA_SENSOR.h"
HeptaSatTraining2019 21:92c25e853b87 5 #include"HEPTA_COM.h"
umeume 2:1c5cdb2c3e0f 6
umeume 2:1c5cdb2c3e0f 7 Serial pc(USBTX,USBRX);
HeptaSatTraining2019 21:92c25e853b87 8 HEPTA_EPS eps(p16,p26);
HeptaSatTraining2019 21:92c25e853b87 9 HEPTA_CDH cdh(p5, p6, p7, p8, "sd");
HeptaSatTraining2019 21:92c25e853b87 10 HEPTA_SENSOR sensor(p17,
HeptaSatTraining2019 21:92c25e853b87 11 p28,p27,0xD0,0x18,
HeptaSatTraining2019 21:92c25e853b87 12 p13, p14,p25,p24);
HeptaSatTraining2019 21:92c25e853b87 13 HEPTA_COM com(p9,p10);
umeume 2:1c5cdb2c3e0f 14
HEPTA 6:a7d481b9d962 15 DigitalOut myled(LED1);
umeume 5:c5ccb1b07e8f 16
umeume 2:1c5cdb2c3e0f 17 int main()
umeume 2:1c5cdb2c3e0f 18 {
HEPTA 6:a7d481b9d962 19 myled = 1;
umeume 5:c5ccb1b07e8f 20 wait(0.5);
HEPTA 6:a7d481b9d962 21 myled = 0;
umeume 5:c5ccb1b07e8f 22 wait(0.5);
umeume 2:1c5cdb2c3e0f 23 }