MemberMay 30, 2022 at 11:57 pm
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.
MemberMay 31, 2022 at 12:39 am
And I should mention that I am aware that the Controllino and the Arduino pin numbers don’t match.
On Arduino I’m using:
Pin D3 = Controllino Pin Digital 1
Pin A8 = Controllino Pin A8
So I’m wondering what if it’s something with the Automatic Divider on the Input side or the Highside Switch on the Output side
Log in to reply.