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 : Picomite VGA debugging via Terminal?
Author | Message | ||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1115 |
Hi, Maybe I missed it, Is there a way to output text only through the terminal? It would be helpful for debugging to send values of variables to the terminal during the program without it appearing on the VGA screen. Cheers Mart!n Edit Appendix A describes how this would work via Com1 and 2. Can I also use the serial connection which I have already established via usb anyway? Edited 2023-03-29 23:30 by Martin H. 'no comment |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6814 |
If you are using the VGA as a graphic display then using PRINT won't display on it, but it will display on the console. Likewise TEXT will display on the graphic screen but not on the console. The console can be redirected to a COM port but it doesn't need to be. It's USB by default, of course. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9139 |
Use OPTION LCDPANEL NOCONSOLE in your program. Then all graphics commands will still work on the screen and print statements will only go to the terminal |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1115 |
That does the Job and OPTION LCDPANEL CONSOLE to turn it on again Thank you 'no comment |
||||
Print this page |