51
edits
(Added cable, comment about shift register) |
(Fix code block formatting) |
||
Line 132: | Line 132: | ||
Simple Arduino code example: | Simple Arduino code example: | ||
< | <pre> | ||
digitalWrite(pinOE, LOW); | digitalWrite(pinOE, LOW); | ||
Line 155: | Line 155: | ||
digitalWrite(pinLAT, LOW); | digitalWrite(pinLAT, LOW); | ||
</ | </pre> | ||
The pixel writing could be made much faster using direct port operations, particularly with a port dedicated to the tile interface - one write with clock low to set the R G B values and the next holding the values with clock high - probably of the order of 50 times faster than the code above. | The pixel writing could be made much faster using direct port operations, particularly with a port dedicated to the tile interface - one write with clock low to set the R G B values and the next holding the values with clock high - probably of the order of 50 times faster than the code above. |
edits