Menu
JAQForum Ver 19.10.27

Forum Index : Microcontroller and PC projects : Saving 'list' output ?

Posted: 09:39pm
17 Jun 2025
Copy link to clipboard
DigitalDreams
Newbie

'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 ?
 
Posted: 09:51pm
17 Jun 2025
Copy link to clipboard
twofingers
Guru

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
 
Posted: 10:05pm
17 Jun 2025
Copy link to clipboard
DigitalDreams
Newbie

  twofingers said  Maybe this helps?
Regards
Michael


Sure does thanks !
 


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