fg71
I said you couldn't use Location for External class. If we look inside the plc.st file we could find that Arduino extension variable is Global variable. So I was thinking.... and here is the solution.
 
[203128%2F9094277%2Fmceclip0]
 
Here is the Arduino extension. You would maybe think why do I use bool ABE in the code and not in table view.
The reason is for the compiler to not complain with error. Other reason is I like to use Location.
So we need to use a Global variable in res0 to make the Location to Arduino pin.
 
[203128%2F9094282%2Fmceclip0]
 
Global variable
[203128%2F9094287%2Fmceclip0]
Reply 0 0
Reply