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 ZealandPosts: 2285 |
something like this should do the trick: SetTick 100, isr Do Do While message$<>"": Loop 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: AustraliaPosts: 3165 |
Thanks, I will fix. Geoff Geoff Graham - http://geoffg.net |
||||
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9051 |
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 |