Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:46 29 Nov 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 : Picomite VGA debugging via Terminal?

Author Message
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1115
Posted: 01:04pm 29 Mar 2023
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 6814
Posted: 01:51pm 29 Mar 2023
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 9139
Posted: 01:57pm 29 Mar 2023
Copy link to clipboard 
Print this post

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: Germany
Posts: 1115
Posted: 02:14pm 29 Mar 2023
Copy link to clipboard 
Print this post

  matherp said  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

That does the Job

and OPTION LCDPANEL CONSOLE  to turn it on again

Thank you
'no comment
 
Print this page


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

© JAQ Software 2024