QAQ ==!
Dependencies: mbed QEI-1 nRF24L01P xiugai
main.cpp
- Committer:
- zhangyx
- Date:
- 2019-12-13
- Revision:
- 14:5bc7349d0e3b
- Parent:
- 13:99e774135a00
- Child:
- 15:934289377f7a
File content as of revision 14:5bc7349d0e3b:
#define HIGH 1 #define LOW 0 #include "mbed.h" #include <string> typedef bool boolean; typedef std::string String; #include "sensors.h" #include "JY901.h" char buf[10] ; int len; int val; JY901 jy901_Serial_1(PB_6,PA_10); int main() { jy901_Serial_1.baud(9600); }