PicoMite V6.00.01 release candidates - please test thoroughly


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11174
Posted: 12:31pm 21 Dec 2024      

mm.info(heap) tells you how much is free
For the pins use the MMbasic subroutine

  Quote  Sub FREEPINS
Local n,gp$,p,pu$
 For n=0 To Choice(Instr(MM.Device$,"RP2350B"),47,29)
 gp$ = "GP"+Str$(n)
 p = MM.Info(pinno gp$)
 pu$ = MM.Info(pin p)
 Print gp$, p, pu$
Next
End Sub

That has a huge amount of C-code behind it which I am not going to replicate when it is so easy in Basic