CH340 USB-TTL problems.


Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6541
Posted: 09:29pm 11 Aug 2023      

I wasn't trying to start another war.
I came across the problem and thought that other TBS members might save a lot of head banking if they were aware of the 'problem'
To finish my contribution.
This code runs OK in MMb4W on my W11 PC but requires the additional kick start in the original MMBasic for DOS.
'
PRINT "started"
OPEN "com8:2400" AS #2  'these two lines are need in MMBasic for DOS
CLOSE #2                ' but not for MMB4W
OPEN "com8:38400" AS #2
PRINT "port open"
PRINT #2, "help"
PAUSE 1000
reply$ = INPUT$(200,#2)
PRINT reply$
CLOSE #2
PRINT "done"



I believe it was an update to Windows that occurred on 8th August that started the issue.

Jim