We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5cded3 commit c8de66eCopy full SHA for c8de66e
1 file changed
examples/TestEasyVR/TestEasyVR.ino
@@ -542,7 +542,9 @@ void loop()
542
543
if (!isSleeping && !isBusy)
544
{
545
- easyvr.setPinOutput(EasyVR::IO1, HIGH); // LED on (listening)
+ if (easyvr.getID() < EasyVR::EASYVR3)
546
+ easyvr.setPinOutput(EasyVR::IO1, HIGH); // LED on (listening)
547
+
548
if (useTokens)
549
550
pcSerial.print(F("Detect a "));
@@ -572,7 +574,8 @@ void loop()
572
574
isSleeping = false;
573
575
isBusy = false;
576
- easyvr.setPinOutput(EasyVR::IO1, LOW); // LED off
577
578
+ easyvr.setPinOutput(EasyVR::IO1, LOW); // LED off
579
580
if (easyvr.isAwakened())
581
0 commit comments