I've been playing with the Serial2.sbp and for some reason I cannot get the compiled program to change the Global variables. Here is the code...
Sub Globals
port = 1 'changed from 3
bitRate = 3
Dim bitRates(0) As Number
bitRates() = Array(300,4800,9600,19200,115200) 'added 19200 baud rate
End Sub
When this program gets compiled to the device, the highlighted default port is COM 3 and 19200 does not show up in the array. What am I doing wrong?
Sub Globals
port = 1 'changed from 3
bitRate = 3
Dim bitRates(0) As Number
bitRates() = Array(300,4800,9600,19200,115200) 'added 19200 baud rate
End Sub
When this program gets compiled to the device, the highlighted default port is COM 3 and 19200 does not show up in the array. What am I doing wrong?