Hi
I have two array define in incline-C. How could i access(read/write) them in B4R function ?
I have two array define in incline-C. How could i access(read/write) them in B4R function ?
B4X:
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