-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPin Notes.txt
More file actions
31 lines (21 loc) · 887 Bytes
/
Pin Notes.txt
File metadata and controls
31 lines (21 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
Accelerometer
=============
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
===
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.