Porting a little Arduino code....


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11980
Posted: 01:51am 22 Jan 2015      

  Quote  o you have any bright ideas as to how I would build the 32-bit word to send to the display, representing the four digits I need?


dim integer a=&H12
dim integer b=&H34
dim integer c=&H56
dim integer d=&H78
dim integer s=(a<<24)+(b<<16)+(c<<8)+d