Go Down

Topic: Cascading Four 74HC595 Shift Registers To Control a 16x16 LED Matrix (Read 2 times) previous topic - next topic


I've been gored by that one before.  It's often when I forget that a "character" is, by default, SIGNED:

char Character = 0x80;

unsigned int Unsigned;

Unsigned = Character;  // Now Unsigned = 0xFF80
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up