alexander_f94
Hi,
 
is there a way to enable thre internal pullup resisstor on arduino uno using open plc editor 4.1.2 ?
I saw someone mentioning modifying the code in the HAL file under crc folder. but can't get it to work.
Reply 0 0
thiagoralves
The only way is modifying the HAL file inside the editor installation folder
Reply 0 0
alexander_f94
I tried doing that but every time i upload a new program, the code in the HAL file returns to "original"
I got it working when using an earlier version of open plc a couple of years ago.
 
Is it correct that there is no installation folder for the editor other than the folder created when opening a new project.
 
C:\Users\alexa\Desktop\open plc\build\Arduino Uno\src
Reply 0 0
thiagoralves
That’s just the build folder. Files in there will be replaced every time you make a new build. You need to change the files on the folder where the editor is installed.
Reply 0 0
alexander_f94
thanks, found it after checking the box for hidden objects in the file exporer. Another question. How do i observe a value from an analog input in the debugger mode ?
0 to 65535.  
Reply 0 0
thiagoralves
Click on the debug icon on the variables table in front of the variable you want to view. The variable will then be shown on the debugger panel at the bottom.
Reply 0 0
Reply