Anonymous

LED tiles: Difference between revisions

From London Hackspace Wiki
2 bytes removed ,  8 February 2016
Fix code block formatting
(Added cable, comment about shift register)
(Fix code block formatting)
Line 132: Line 132:
Simple Arduino code example:
Simple Arduino code example:


<code>
<pre>
digitalWrite(pinOE, LOW);
digitalWrite(pinOE, LOW);
   
   
Line 155: Line 155:
   digitalWrite(pinLAT, LOW);
   digitalWrite(pinLAT, LOW);
   
   
</code>
</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.
51

edits