![](/media/cache/profiles/P1080070.JPG.50x50_q85.jpg)
Lab3
Embed:
(wiki syntax)
Show/hide line numbers
main.cpp
00001 #include "mbed.h" 00002 #include "HEPTA_EPS.h" 00003 00004 Serial pc(USBTX,USBRX); 00005 HEPTA_EPS eps(p16,p26); 00006 00007 int main() 00008 { 00009 pc.baud(9600); 00010 float bt; 00011 for(int i = 0; i < 10; i++) { 00012 eps.vol(&bt); 00013 pc.printf("Vol = %f\r\n",bt); 00014 wait(1.0); 00015 } 00016 }
Generated on Sun Jul 24 2022 22:04:02 by
![doxygen](doxygen.png)