#define BUFFERSIZE 127
int numLoop = 0; // number of times we looped
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println(numLoop);
char str[20];
sprintf(str,"\nanalogRead,%d@",50);
Serial.write(str);
delay(5000);
numLoop++;
}
沒有留言:
張貼留言