by sena » Sat May 31, 2008 3:04 am
by sena
Sat May 31, 2008 3:04 am
I open the port at 9600bps.
c++ code.
serial.writeByte('0xff');
serial.writeByte('0xff');
serial.writeByte('0x00');
serial.writeByte('0x05');
serial.writeByte('0x03');
serial.writeByte('0x11');
serial.writeByte('0x04');
serial.writeByte('0x04');
serial.writeByte('0xde');
Yes,both green LED and red LED are light up.
I’m a c++ beginner...
I open the port at 9600bps.
c++ code.
serial.writeByte('0xff');
serial.writeByte('0xff');
serial.writeByte('0x00');
serial.writeByte('0x05');
serial.writeByte('0x03');
serial.writeByte('0x11');
serial.writeByte('0x04');
serial.writeByte('0x04');
serial.writeByte('0xde');
Yes,both green LED and red LED are light up.
I’m a c++ beginner...