arduino2.ino aktualisiert
This commit is contained in:
+2
-2
@@ -50,8 +50,8 @@ void printAll()
|
||||
|
||||
void loop() {
|
||||
digitalWrite(LED, HIGH);
|
||||
// String str = Serial.readString();
|
||||
String str = "1456,677,123,456,789,999,111";
|
||||
String str = Serial.readString();
|
||||
// String str = "1456,677,123,456,789,999,111";
|
||||
str.trim();
|
||||
if(str[0] == '1')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user