Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HEPTA_SENSOR mbed HEPTA_EPS HEPTA_COM HEPTA_CDH
main.cpp
00001 #include "mbed.h" 00002 #include "HEPTA_EPS.h" 00003 #include "HEPTA_CDH.h" 00004 #include "HEPTA_SENSOR.h" 00005 #include "HEPTA_COM.h" 00006 00007 Serial pc(USBTX,USBRX); 00008 HEPTA_EPS eps(p16,p26); 00009 HEPTA_CDH cdh(p5,p6,p7,p8,"sd"); 00010 HEPTA_SENSOR sensor(p17, 00011 p28,p27,0xD0,0x18, 00012 p13,p14,p25,p24); 00013 HEPTA_COM com(p9,p10); 00014 00015 DigitalOut myled(LED1); 00016 00017 int main() 00018 { 00019 myled = 1; 00020 wait(0.5); 00021 myled = 0; 00022 wait(0.5); 00023 }
Generated on Wed Jul 27 2022 15:33:54 by
