Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (21 sloc) 887 Bytes
Led Matrix
const byte DIODE_PIN_LATCH=9 ; // Freeze pin out
const byte DIODE_PIN_CLK=10 ; // Clock netx bit
const byte DIODE_PIN_DAT=8 ; // Data bit
const byte DIODE_PIN_EN=7 ; // Enable/Disable
Bit ordering after shifting 24 bits C is row Cathode, R is Red column anode, G is green
C1 C2 C3 C4 C5 C6 C7 C8 R1 R2 R3 R4 R5 R6 R7 R8 G8 G7 G6 G5 G4 G3 G2 G1
const byte ADXL_PIN_SS=5 ; // Chip Slave Select for Accelerometer
SPI in parallel with Radio
Radio link
const byte NRF_PIN_SS=2 ; // Chip Slave Select for Radio chip - only the SPI IO
const byte NRF_PIN_CE=4 ; // Chip Enable - Active Radio transfer
SPI in parallel with Accelerometer
SPI uses (hardwired in chip) (D10 SS), D11 MOSI/SDA, D12 MISO/SDO, D13 SCK/SCL
There are several modes and speeds - the chips do not use the same.