#Region Project Attributes
#AutoFlushLogs: True
#CheckArrayBounds: True
#StackBufferSize: 300
#End Region
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
Public i As ULong
End Sub
Private Sub AppStart
Dim s As String
Serial1.Initialize(115200)
Log("AppStart")
i=0
Do While(True)
i=i+1
s=i
Log("Temp:",s)
Log("MEM:",AvailableRAM,"Stack Buf:",StackBufferUsage)
Delay(50)
Loop
End Sub