摘要:
unsigned char PWM = 100;int incomingByte = 0;void setup(){ pinMode(2,OUTPUT); pinMode(3,OUTPUT); pinMode(5,OUTPUT); pinMode(6,OUTPUT); analogWrite(10, PWM); analogWrite(9, PWM); Serial.begin(9600);}void loop(){ if(Serial.available() > 0) { incomingByte = Serial.read(); switch(inco... 阅读全文
posted @ 2012-12-10 22:21 白桦的天空 阅读(191) 评论(0) 推荐(0) 编辑