So I noticed something I don’t understand. I am trying to use a Controllino Mega to generate a PWM signal and then read it on another pin on the same Mega. It works when I use the direct lines (X1, X2, ect) but when I use the same pins on the terminal blocks it doesn’t read anything.
I’m not completely sure if it’s that it’s not outputting the PWM or if the pulseIn is not reading but since it works direct I don’t know why it won’t work using the terminal blocks.
Pins I’m using D3 (outputting PWM) and A8 (reading the pulse)
Not sure if I’m misunderstanding how these are wired or what.