kontee
Can we change the output pin to input?
example
Changed from pin 14 output to 14 input.
 
4.jpg
Reply 0 0
thiagoralves
Yes
Reply 1 0
kontee
Yes
So if it's analog outputs can change to digital outputs?
Reply 0 0
kontee
If it can, what should I do?
Reply 0 0
thiagoralves
Just put the io numbers where you want them to be
Reply 1 0
kontee
Just put the io numbers where you want them to be
example
 
Changed from pin 14 Digital  output to 14 Digital  input.
and
Changed from pin 2 Analog output to 2 Digital output
 
How do I rewrite the location if it changes?
 
PORTIO MEGA.jpg
Reply 0 0
thiagoralves
Just follow the order according to the numbers you wrote. The first io on the digital output field will be mapped to %QX0.0, the second will be mapped to %QX0.1… and so on. Just remember that QX and IX increase their size in bits, so they go from QX0.0 to QX0.7 and then the next value is QX1.0
Reply 1 0
kontee
Just follow the order according to the numbers you wrote. The first io on the digital output field will be mapped to %QX0.0, the second will be mapped to %QX0.1… and so on. Just remember that QX and IX increase their size in bits, so they go from QX0.0 to QX0.7 and then the next value is QX1.0
thank you 😁😁
Reply 0 0
Reply