Sub Process_Globals
'These global variables will be declared once when the application starts.
'Public variables can be accessed from all modules.
Public Serial1 As Serial
End Sub
Private Sub AppStart
Serial1.Initialize(115200)
Log("AppStart")
AddLooper("EtherCAT_Loop")
End Sub
Sub EtherCAT_Loop
RunNative("Loop2",Null)
End Sub
#if C
uint8_t ByteIn [32];
uint8_t ByteOut [32];
#End if