Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 03:34 20 Apr 2024 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 : UART problems - porting from PICAXE to MM2...

     Page 2 of 2    
Author Message
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2285
Posted: 04:19am 27 Jul 2021
Copy link to clipboard 
Print this post

something like this should do the trick:

SetTick 100, isr

Do
  Do While message$<>"": Loop
  Print
  Input message$
Loop

End


isr:
  If message$<>"" Then
    Print Left$(message$,1);
    message$=Mid$(message$,2)
  EndIf
IReturn


just replace the Print Left$(message$,1); with Print #n....

cheers,
rob   :-)


addendum: geoff - just noticed a small error in the index of the 5.05.04 MX170 PDF manual, the item "MID$" appears twice.
Edited 2021-07-27 14:24 by robert.rozee
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 06:06am 27 Jul 2021
Copy link to clipboard 
Print this post

  robert.rozee said  just noticed a small error in the index of the 5.05.04 MX170 PDF manual, the item "MID$" appears twice.

Thanks, I will fix.

Geoff
Geoff Graham - http://geoffg.net
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9051
Posted: 06:32am 27 Jul 2021
Copy link to clipboard 
Print this post

I can now report that the test unit I took to the site today, worked perfectly in about 8-10 different physical locations at the extreme edge of the expected range.

Lovely.

Now I can order more boards and begin assembly.

Thank you to all who added to this thread - your help saved my sanity.    
Smoke makes things work. When the smoke gets out, it stops!
 
     Page 2 of 2    
Print this page


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

© JAQ Software 2024