I try to print / input from terminal. I use a Prolific USB to serial converter. No handshake, it is an STK200 board.
I did not configure serial in my program; that goes "automatic" in the background by my chosen options/compiler (I think).
[code:1:f81f165be5]Dim V As Byte
Input "c=continue e=enable" , V
print
Clear Serialout[/code:1:f81f165be5]
I see in my terminal: c=continuc=continue e=enable c
So it works more or less but "=continu"is (allways) double printed. I tried slower baud 2400, but cannot get rid of it.
What I tried (thinking there is some buffer not empty) is: [b:f81f165be5]Clear Serialout[/b:f81f165be5]. But compiler don't accept that!
Compiler says: Invalid Data Type [[0011]0[_RS_PTRW0]], in File..........
Why is Clear Serialout rejected and what should I do to get not double printings?
[b:f81f165be5][color=red:f81f165be5](BASCOM-AVR version : 2.0.7.6 )[/b:f81f165be5][/color:f81f165be5]
↧