From 3dd17ee48928e8ea1d338b4ecdee5b05da79fdfa Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 12 Jun 2024 11:17:57 -0400 Subject: [PATCH] Update main.c change to GPIO 13 pin 33 --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 59360c63..1f4fb48a 100644 --- a/main.c +++ b/main.c @@ -100,7 +100,7 @@ int main(int argc, char * argv[]) { FILE * gpiod = popen("sudo pigpiod", "r"); // start gpiod pclose(gpiod); - gpiod = popen("pigs m 19 5", "r"); // set PWM audio utput to GPIO 19 (pin 35) + gpiod = popen("pigs m 13 0", "r"); // set PWM audio utput to GPIO 13 (pin 33) pclose(gpiod); // gpiod = popen("pigs hc 6 12880000", "r"); // set clock to 12.88 MHz on GPIO 6 (pin 31) // commented out as it seemed to crash Pi Zero // pclose(gpiod);