Hi,
I am struggling with reading the digital input pin in PLC IDE.
We have a program that reads digital pin A0 on OPTA and it works flawlessly. However, when converting the program to Portenta, this doesnt work at all anymore. I cannot even find name of the pin that I should insert in sketch.
Does anyone know? I need to access Digital Input pin 0 (or any other number) via Sketch in PLC IDE. So far - nothing worked. I tried including the PMC library in the code, but it doesn't work at all.
#include throws errors that files are missing
Simply adding the library with it's version - PLC IDE downloads the library. But the methods cannot be used as they are "not declared".
Any guidance would be helpful.