Blinkofant: Unterschied zwischen den Versionen
aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springenZeile 82: | Zeile 82: | ||
+ | SPI.begin(); | ||
+ | SPI.setBitOrder(LSBFIRST); | ||
+ | SPI.setDataMode(SPI_MODE0); | ||
+ | SPI.setClockDivider(SPI_CLOCK_DIV128); // biggest divider there is. | ||
+ | SPDR = panelData[i]; | ||
+ | while(!(SPSR & (1<<SPIF))); | ||
− | | valign="top"| | + | |
+ | |||
+ | |||
+ | |||
+ | |valign="top"| | ||
<center>[[Datei:Albert-Schultz-Eishalle-by-kerky_oe.jpg|center|framed|<small>[[Blinkofant/LED-Display History|Albert Schultz ice arena LED wall]] © [http://www.flickr.com/photos/kerky_oe/5313588854/sizes/n/in/photostream/ kerky_oe]</small>]] </center> | <center>[[Datei:Albert-Schultz-Eishalle-by-kerky_oe.jpg|center|framed|<small>[[Blinkofant/LED-Display History|Albert Schultz ice arena LED wall]] © [http://www.flickr.com/photos/kerky_oe/5313588854/sizes/n/in/photostream/ kerky_oe]</small>]] </center> | ||
Version vom 27. März 2012, 13:17 Uhr
WTF?Recently we got these *huge* LED walls. We disassmbled the monster and now we got ~300 LED panels Each of the 8*9 pixels consists of 5 LEDs = 360 red LEDs per panel we don't know how to power them yet :)
Pinout
pin 1 -> pin 8
SoftwareAktuelle Testfirmware für den Arduino liegt im GIT von 5uper.net ( git clone git@5uper.net:ledmatrix.git )
SPI.begin(); SPI.setBitOrder(LSBFIRST); SPI.setDataMode(SPI_MODE0); SPI.setClockDivider(SPI_CLOCK_DIV128); // biggest divider there is. SPDR = panelData[i]; while(!(SPSR & (1<<SPIF)));
|
|