/* Blink Turns an LED on for one second, then off for one second, repeatedly. */// define variables here// variables should be defined before setup()// You must include void setup() and void loop() in every Arduino sketch, or the program won't compil
尽管造书去做的.但还是有莫名的成就感 从串口显示出,电压变化, 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); } wate