add all sensors used
Dependencies: mbed QEI-1 nRF24L01P xiugai
main.cpp
- Committer:
- brainliang
- Date:
- 2020-12-01
- Revision:
- 7:dc221ddd4588
- Parent:
- 6:7db9b13ece76
File content as of revision 7:dc221ddd4588:
#define HIGH 1 #define LOW 0 #include "mbed.h" #include <string> typedef bool boolean; typedef std::string String; DigitalOut myDigitalOutPA_0(PC_13); int main() { while (true) { myDigitalOutPA_0.write(HIGH); wait_ms(1000); //myDigitalOutPA//_0.write(LOW); //wait_ms(1000); } }