标签:
虽然造书去做的,但还是有莫名的成就感
从串口显示出,电压变化,
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
int val=analogRead(A0);
Serial.println(val);
delay(500);
}
标签:
原文地址:http://blog.csdn.net/zfive5/article/details/44264669