Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:38 19 Jun 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 : Saving 'list' output ?

Author Message
DigitalDreams
Newbie

Joined: 03/05/2025
Location: United Kingdom
Posts: 15
Posted: 09:39pm 17 Jun 2025
Copy link to clipboard 
Print this post

'list pins' outputs to the screen too quickly and the first 7 lines or so scroll off the top of my screen. Slowing the processor doesn't help.... Is there any way to pause this output or even better save to text file or string ?
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1551
Posted: 09:51pm 17 Jun 2025
Copy link to clipboard 
Print this post

Maybe this helps?

'************************************************
' FREEPINS() 2024 by Volhout
'************************************************
Sub FREEPINS()
Local integer n,p
Local string gp$,pu$
For n=0 To 29
 gp$ = "GP"+Str$(n)
 On error skip
 p = MM.Info(pinno gp$)
 If Not MM.Errno Then
   pu$ = MM.Info(pin p)
 Else
   p=-1
   pu$=MM.ErrMsg$
 EndIf
 Print gp$;@(50,MM.Info(vPOS)) p, pu$
Next
End Sub


Regards
Michael
causality ≠ correlation ≠ coincidence
 
DigitalDreams
Newbie

Joined: 03/05/2025
Location: United Kingdom
Posts: 15
Posted: 10:05pm 17 Jun 2025
Copy link to clipboard 
Print this post

  twofingers said  Maybe this helps?
Regards
Michael


Sure does 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