Hello,
In the ino file, analog pins are named with Ax
In debug mode, A13 is outputed as 67
So in python I have to put 67 as analog input.
The python script doesn't know Ax numbering, I think it is mpu dependant.
Also, input and output cannot be used on Ax pins, unless with debugging and get the pin number.
I use a Mega2560 3d printer as board because it has connectors and it's cheap, many of output are on Ax pins. The project is to make the panel of the cnc.
You could improve the code to get the right pin numbering, or add this particular case in the documentation.
Congratulations for your work, you saved me hours of research and money in my project!
Hello,
In the ino file, analog pins are named with Ax
In debug mode, A13 is outputed as 67
So in python I have to put 67 as analog input.
The python script doesn't know Ax numbering, I think it is mpu dependant.
Also, input and output cannot be used on Ax pins, unless with debugging and get the pin number.
I use a Mega2560 3d printer as board because it has connectors and it's cheap, many of output are on Ax pins. The project is to make the panel of the cnc.
You could improve the code to get the right pin numbering, or add this particular case in the documentation.
Congratulations for your work, you saved me hours of research and money in my project!