![](/media/cache/profiles/P1080070.JPG.50x50_q85.jpg)
Lab3
main.cpp
- Committer:
- HeptaSatTraining2019
- Date:
- 2019-08-21
- Revision:
- 25:4277e16b97c3
- Parent:
- 24:3659e0c223c8
File content as of revision 25:4277e16b97c3:
#include "mbed.h" #include "HEPTA_EPS.h" Serial pc(USBTX,USBRX); HEPTA_EPS eps(p16,p26); int main() { pc.baud(9600); float bt; for(int i = 0; i < 10; i++) { eps.vol(&bt); pc.printf("Vol = %f\r\n",bt); wait(1.0); } }