mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-09-19 16:46:11 -04:00
Fix loop to allow searching for more than one device
Before this fix - seems only empty statement after `while` condition was executed.
This commit is contained in:
parent
cbbb53dada
commit
886ecd7d71
@ -52,6 +52,7 @@ uint8_t findDevices(int pin)
|
||||
Serial.print("\nuint8_t pin");
|
||||
Serial.print(pin, DEC);
|
||||
Serial.println("[][8] = {");
|
||||
do
|
||||
{
|
||||
count++;
|
||||
Serial.println(" {");
|
||||
|
Loading…
Reference in New Issue
Block a user