why is Serial.read() adding an extra character at the end? and how do i fix it?

前端 未结 0 1169
余生分开走
余生分开走 2021-02-06 03:52
char input;
 
void setup() {
    Serial.begin(9600); 
    delay(2000);  
 
    Serial.println("Type something!");
}
 
void loop() {
    if(Serial.available()){         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题