Sub Process_Globals
Public Ser1 As Serial
Public mystream As AsyncStreams
Public bc As ByteConverter
Public receivedata As Int
Dim count As Byte
End Sub
Private Sub AppStart
Ser1.Initialize(115200)
Log("AppStart")
RunNative("Reset",Null)
End Sub
#if C
void Reset (B4R::Object* o) {
//lower case variables
Serial.println("going to reset");
delay(2000);
void(* resetFunc) (void) = 0;
}
#End if