Arduino:1.8.5 (Windows 7), 開發板:"Arduino/Genuino Uno"
C:\Users\Administrator\Documents\Arduino\sketch_jun13a\sketch_jun13a.ino: In function 'void loop()':
sketch_jun13a:15: error: 'voltage' was not declared in this scope
Serial.println(voltage);
^
exit status 1
'voltage' was not declared in this scope
獲取模擬信號出現這個錯誤信息是什么原因,本人剛剛接觸單片機,希望大家多幫助,謝謝
|