OK, now i present problem no 2 on the same tema:
In the code I first INIT the AUX1:
SetHSerial2 H300,H8DATABITS,HNOPARITY,H1STOPBITS
then i try to use it by
hserout 2, ["c"]
... and what i get is a prerfect
N
ok, next try, i write
hserout 2, ["C"]
... and what i get is a prerfect
^
Am i stupid o what am i doing wrong ?
If i try it on the USB-connection it all works fine, ie what i print using hserout shows in the terminal
I am saying "perfect" but it isnt 100% perfect, for example the terminal is cleared betwen each print, so there has to be more writing than what i can see.
It has no influence if i use hserout 1 on the same time, the result is the same
I am using a USB to Serial converter and BMS, but i have _exactly_ the same result on an old portable (whith an onboard serial) using Hyperterminal
I am not using any interupts or anything, not any servoes (yet)
the cable is a very simple
RS323-Dsub9 <-> 0.1connector on ARC32
pin2 RX pin3 TXD2
pin3 TX pin5 RXD2
pin5 GND pin7 GND
This is very irritating !
compleate program:
Code:
SetHSerial2 H300,H8DATABITS,HNOPARITY,H1STOPBITS
main:
hserout 2, ["C"]
Pause 100
goto main