Hardware Reference
In-Depth Information
Figure 11-5:
Wiring the LED
strip to the
PiFace board.
Using Longer Strip Lights
Now what about the longer strip light I mentioned at the start of the last section? You can
draw up to 450mA from each of the outputs from the PiFace board so you can have longer
strips of LEDs. his amount of current will drive 66 LEDs or 22 groups of three - this is a
strip of 0.7 meters long. However, the down side is that you can't have more than one LED
strip lit at any one time. With the existing software it is too easy to make a mistake and set
two or more LEDs to come on in each column, but with the changing of just one line in the
code you can make the software act as a safety watch dog and only allow one strip light to be
on at any one time. he line is in the mouseGet function six lines in, and it is one that has
been discussed already:
seq[byte] ^= 1 << bit
Search WWH ::




Custom Search