Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:49 11 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : COM on MMX 144 pin

Author Message
frederic
Newbie

Joined: 30/03/2018
Location: France
Posts: 15
Posted: 03:11pm 31 Mar 2018
Copy link to clipboard 
Print this post

Hi everybody,
i am checking MMX144 on my own board....
i find problem with serial COM :
here is my little code :

debut:

open "COM2:4800" as #5
print #5,"hello"
close #5
pause 10

GoTo debut

nothing on TXpin except a little pulse (of course every 10mS)
i tried on COM1 and COM3, same problem, same little pulse,
i tried this code on another board MM+, and it is working well,
someone got this problem ?

fred
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10570
Posted: 03:27pm 31 Mar 2018
Copy link to clipboard 
Print this post

The MMX uses different libraries to the MM+. You are closing the port before the transmit has happened and the MMX is doing exactly what you asked.

You can use the LOF function to test for transmit complete before you close the channel. This will return the size of the transmit buffer once it is empty
 
frederic
Newbie

Joined: 30/03/2018
Location: France
Posts: 15
Posted: 03:38pm 31 Mar 2018
Copy link to clipboard 
Print this post

of course !!
a little head i have!!!
so quick
many thanks
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025