nRF24L01, encoder, pca9685, pid

Dependencies:   mbed QEI-1 LibPN532 nRF24L01P xiugai

main.cpp

Committer:
brainliang
Date:
2019-11-07
Revision:
7:6f8157c58241
Parent:
6:7db9b13ece76

File content as of revision 7:6f8157c58241:

#define HIGH 1
#define LOW 0
#include "mbed.h"
#include <string>
typedef bool boolean;
typedef std::string String;
#include "SYN6288.h"

String str;

Serial syn6288_Serial_2(PA_2,PA_3);

int main() {


for (int count = 0; count < 100; count++) {
str = "\xc4\xe3\xba\xc3";
str += String("\xca\xc0\xbd\xe7");
voice_play(str,&syn6288_Serial_2);
wait_ms(2000);
}

}