Setting multiple pins simultaneously


Author Message
Nimue

Guru

Joined: 06/08/2020
Location: United Kingdom
Posts: 449
Posted: 01:17pm 12 May 2025      

  phil99 said  Beat me to it, though slightly different method.

PORT(GP2,6) = 1 << CInt(Rnd * 6)


Yikes, from banging to bit shifting in one simple post -- like it.  Again, off to play.