AGirs
girs_pins_nano.h
Go to the documentation of this file.
1 #pragma once
2 
3 // Configuration for Arduino Nano with components soldered on the PCB.
4 
5 #ifndef ARDUINO_AVR_NANO
6 #error This file is for Nano only
7 #endif
8 
9 #define SIGNAL_LED_1 LED_BUILTIN // 13
10 #define SIGNAL_LED_2 A1
11 #define SIGNAL_LED_2_GND A0
12 #define SIGNAL_LED_3 A3
13 #define SIGNAL_LED_3_GND A2
14 #define SIGNAL_LED_4 A5
15 #define SIGNAL_LED_4_GND A4
16 //#define SIGNAL_LED_5 A7
17 //#define SIGNAL_LED_5_GND A6
18 
19 // capture pin (ICP) 8
20 //#define IRSENSOR_1_PULLUP
21 #define IRSENSOR_1_GND 9
22 #define IRSENSOR_1_VCC 10
23 
24 #define IRRECEIVER_1_PIN 5
25 //#define IRRECEIVER_1_PULLUP
26 #define IRRECEIVER_1_GND 6
27 #define IRRECEIVER_1_VCC 7
28 
29 // Send pin 3
30 
31 /* From http://busyducks.com/ascii-art-arduinos
32 
33  +-----+
34  +------------| USB |------------+
35  | +-----+ |
36  B5 | [ ]D13/SCK MISO/D12[ ] | B4
37  | [ ]3.3V MOSI/D11[ ]~| B3
38  | [ ]V.ref ___ SS/D10[ ]~| B2
39  C0 | [ ]A0 / N \ D9[ ]~| B1
40  C1 | [ ]A1 / A \ D8[ ] | B0
41  C2 | [ ]A2 \ N / D7[ ] | D7
42  C3 | [ ]A3 \_0_/ D6[ ]~| D6
43  C4 | [ ]A4/SDA D5[ ]~| D5
44  C5 | [ ]A5/SCL D4[ ] | D4
45  | [ ]A6 INT1/D3[ ]~| D3
46  | [ ]A7 INT0/D2[ ] | D2
47  | [ ]5V GND[ ] |
48  C6 | [ ]RST RST[ ] | C6
49  | [ ]GND 5V MOSI GND TX1[ ] | D0
50  | [ ]Vin [ ] [ ] [ ] RX1[ ] | D1
51  | [ ] [ ] [ ] |
52  | MISO SCK RST |
53  | NANO-V3 |
54  +-------------------------------+
55 */