![](/media/cache/profiles/IMG_2753.JPG.50x50_q85.jpg)
Ejemplo para ver com,unicacion SPI simple
Ejemplo de blog en repositorio
ejemplo de imagen subida
Revision 1:81db1068fe7d, committed 2020-02-05
- Comitter:
- lscordovar
- Date:
- Wed Feb 05 21:58:22 2020 +0000
- Parent:
- 0:d50f30be8280
- Commit message:
- ejemplo de SPI; 7 segmentos
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d50f30be8280 -r 81db1068fe7d main.cpp --- a/main.cpp Sat Sep 24 08:22:08 2016 +0000 +++ b/main.cpp Wed Feb 05 21:58:22 2020 +0000 @@ -2,8 +2,8 @@ #include "Max7219.hpp" int main() { - SPI spi(D11 /* MOSI */, NC, D13 /* SCK */); - MAX7219 max7219(spi, D10 /* CS */); + SPI spi(PB_5 /* MOSI */, PB_4, PB_3 /* SCK */); + MAX7219 max7219(spi, PD_7 /* CS */); max7219.begin(); max7219.print("-1234.567");