simple test of old MAX7219 board and new n-BED nBlock
Diff: main.cpp
- Revision:
- 1:f4a999754fcc
- Parent:
- 0:bd34a367f642
--- a/main.cpp Tue Nov 24 06:41:43 2015 +0000
+++ b/main.cpp Wed Nov 18 10:43:16 2020 +0000
@@ -7,8 +7,8 @@
#include "mbed.h"
-SPI spi(PTD2, PTD3, PTD1); // Arduino compatible MOSI, MISO, SCLK
-DigitalOut cs(PTD0); // Chip select
+SPI spi(p5, p6, p7); // Arduino compatible MOSI, MISO, SCLK
+DigitalOut cs(p8); // Chip select
const unsigned char led1[]= {
0xFF,0x18,0x18,0x18,0x18,0x18,0x18,0xFF