Quote:
Originally posted by Skabana159
It sounds to me like your init. constants are wrong. Every c_variablename that you wish to serin must be set to 1, all others must be set to 0. Then, if those are correct, check to make sure the order of your variables is consistant with what the order is in the default code.
|
To give you a concrete example...
This works:
Code:
c_p1_y CON 1
c_p2_y CON 1
...
c_PB_mode CON 0
...
Serin COMA\COMB, INBAUD, [p2_y,p1_y]
This will give you a BASIC Error:
Code:
c_p1_y CON 1
c_p2_y CON 1
...
c_PB_mode CON 0
...
Serin COMA\COMB, INBAUD, [PB_mode,p2_y,p1_y]
This fixes the BASIC Error:
Code:
c_p1_y CON 1
c_p2_y CON 1
...
c_PB_mode CON 1
...
Serin COMA\COMB, INBAUD, [PB_mode,p2_y,p1_y]