
The program used Demo only recv and send function
Dependencies: C12832 FXOS8700Q
main.cpp
- Committer:
- 201710861
- Date:
- 2022-06-13
- Revision:
- 0:8b4dd5d1f1fd
File content as of revision 0:8b4dd5d1f1fd:
#include "mbed.h" #include "communication.h" #include "string" Serial pc(USBTX,USBRX,115200); DigitalOut D(D0); AnalogIn sensor(A0); extern int interval; int main(){ send(D,sensor); //recv(D,sensor); return 0; }