Hey guys! So im having some trouble with this LCD display that Im trying to use. It is one of the 4x7segment parts on sparkfun. datasheet here: http://www.sparkfun.com/datasheets/Comp … B4B-35.pdf
Anywho. I am trying to find out the best way to output to my display. I will be taking in data wirelessly from an accelerometer and outputting the integral of the data to the display.
Anyways, I will be using a multiplexer and a shift register to get the data to the display. The multiplexer is going to select the digit (out of 4) and always be at Vcc (3.3V) whereas the shift register will be low to turn on the segment and high to reverse bias the diode (turn it off). So I was thinking of putting all the values stored in a binary array (is that possible?) or stored as a hex value. For example, a “0” is 0x03, “1” is 0x9F. The shift register I am using is SN74HC595 from Sparkfun. My question is, how do I go about outputting this data to the shift register. I have reserved a few pins for it. One digital out pin will be the serial line, the other will be the “clock” and one more will be the enable pin. How do I either traverse through a binary array or through the bits of a hex value? Can this be done? Thanks!