发布时间:2013-01-03 21:12:17
#include "Servo.h"#include "Arduino.h"#include "SoftwareSerial.h"#define MAX_BUF_LEN 60 //max input/output buffer length#define SERVO1_DPIN 8 //1st servo pin #define SERVO2_DPIN 9 //2nd servo pin#define TP 6 //Trig_pin#define EP 7 //Echo_pinServo servo1,servo2;char scan_mode1, scan......【阅读全文】