Forum: Mikrocontroller und Digitale Elektronik Grove LED Bar mittels SPI ansteuern?


von Matt B. (mattb)


Lesenswert?

Hallo,

ist es möglich eine Grove LED Bar mit dem Hardware-SPI eines Raspberry 
Pis anzusteuern?

Ich hätte ihn wie folgt angeschlossen:

+3,3V            -> VCC
Ground           -> GND
GPIO10 (MOSI)    -> DI
GPIO11 (SPI_CLK) -> DCKI


Falls es geht wäre es prima wenn mir jemand ein Code-Beispiel hätte...

Danke

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.