Noodle-Synth icon indicating copy to clipboard operation
Noodle-Synth copied to clipboard

Non PWM pin defined as channel B!

Open boylesg opened this issue 1 year ago • 0 comments

In file synEngine.h

#define CHA 3 #define CHB 4

Pin 4 is not a PWM pin on Uno, Mini, Nano or Pro.

You need to change it to this:

#if defined ARDUINO_AVR_UNO || defined ARDUINO_AVR_PRO || #defined ARDUINO_AVR_MEGA #define CHA 9 #define CHB 10 #else #define CHA 3 #define CHB 4 #endif

boylesg avatar Apr 07 '23 07:04 boylesg