The cockroach of writing

You may not know it, but all logic gates can be made from NOT and OR gates alone. So, I set out to make them! First of all, the AND gate: Because of the NOT gate at the end, the NAND gate is just this without it. Next, XOR. To start with, I took the […]

read more

This is code for Freetronic‘s Dot Matrix Display devices and their libraries. In the dmd_demo there is a sample of code that says long start=millis(); long timer=start; boolean ret=false; while(!ret){ if ((timer+30) < millis()) { ret=dmd.stepMarquee(-1,0); timer=millis(); } } However having to put that everywhere you want to advance a marquee probably isn’t fun. So […]

read more