From d00562f07d64e6d1ef5f2507b513b35244a6b0c0 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Fri, 14 Apr 2023 08:36:46 -0400 Subject: [PATCH] try Wire1 for clockgen --- cubesatsim/cubesatsim.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 4b46ca01..1bdd9309 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -5021,7 +5021,7 @@ void write_mode(int save_mode) { void start_clockgen() { - if (clockgen.begin() != ERROR_NONE) + if (clockgen.begin(&Wire1) != ERROR_NONE) { /* There was a problem detecting the IC ... check your connections */ Serial.println("No Si5351 detected ... Check your wiring or I2C ADDR!");