ASSIGN WIN <SIN> SOUT signal void C4() { twatch(CLOCK/480); SIN = 0; *** error 39, line 6: not a modifiable lvalue twatch(CLOCK/480); SIN=4; twatch(CLOCK/480); SIN=2; twatch(CLOCK/480); SIN=0; twatch(CLOCK/480); SIN=0; twatch(CLOCK/480); SIN=11; twatch(CLOCK/480); SIN=0xb1; twatch(CLOCK/480); SIN=0xa4; twatch(CLOCK/480); } define button "modbus4","C4()" //MODE COM1 19200,0,8,1 //ASSIGN COM1 <SIN> SOUT 作者:gwb721123 2008-1-26 9:17:00 |