Skip to content

Commit

Permalink
Fixed Pico data lines not being init'd
Browse files Browse the repository at this point in the history
How long did I go without noticing this? You'd think the Pico not starting the camera would be a bigger issue...
  • Loading branch information
SeongGino committed Nov 30, 2023
1 parent f8645fd commit 71104c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SamcoEnhanced/SamcoEnhanced.ino
Expand Up @@ -471,7 +471,7 @@ constexpr int BadMoveThreshold = 49 * CamToMouseMult;
unsigned int selectedProfile = 0;

// IR positioning camera
#ifdef ARDUINO_ADAFRUIT_ITSYBITSY_RP2040
#ifdef ARDUINO_ARCH_RP2040
DFRobotIRPositionEx dfrIRPos(Wire1);
#else
//DFRobotIRPosition myDFRobotIRPosition;
Expand Down Expand Up @@ -659,7 +659,7 @@ void setup() {
neopixel.show();
#endif // NEOPIXEL_PIN

#ifdef ARDUINO_ADAFRUIT_ITSYBITSY_RP2040
#ifdef ARDUINO_ARCH_RP2040
// ensure Wire1 SDA and SCL are correct
Wire1.setSDA(2);
Wire1.setSCL(3);
Expand Down

0 comments on commit 71104c9

Please sign in to comment.