摘要:
/* Sweep*/#include int potpin = 0;//电位器接到A0int val; //存储电位器读取的数值Servo myservo//定义一个舵机void setup() { myservo.attach(9); //连接舵机,舵机信号线接到数字输出9 Serial.beg... 阅读全文
摘要:
int dianwei;int led = 13;void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(led,OUTPUT);}void loop() { // put your m... 阅读全文