]> www.fi.muni.cz Git - bike-lights.git/blob - pins.txt
pwmled.c: enabling/disabling functions
[bike-lights.git] / pins.txt
1      (MOSI/DI/SDA/!OC1A/PCINT8) PB0 MOSI,SW2    SENSE2+ PA0 (ADC0/DI/SDA/PCINT0)
2           (MISO/DO/OC1A/PCINT9) PB1 MISO,PWM1  SENSE23- PA1 (ADC1/DO/PCINT1)
3    (SCK/USCK/SCL/!OC1B/PCINT10) PB2 SCK,LED2    SENSE3+ PA2 (ADC2/INT1/USCK/SCL/PCINT2)
4                  (OC1B/PCINT11) PB3 PWM2       --free-- PA3 (AREF/PCINT3)
5                                 VCC                     AGND
6                                 GND                     AVCC
7 (ADC7/!OC1D/CLKI/XTAL1/PCINT12) PB4 LED1        SENSE1+ PA4 (ADC3/ICP0/PCINT4)
8  (ADC8/OC1D/CLKO/XTAL2/PCINT13) PB5 PWM3        AMBIENT PA5 (ADC4/AIN2/PCINT5)
9          (ADC9/INT0/T0/PCINT14) PB6 SW1      VBAT_SENSE PA6 (ADC5/AIN0/PCINT6)
10           (ADC10/RESET/PCINT15) PB7 RST      VB_SEN_ENA PA7 (ADC6/AIN1/PCINT7)
11
12
13 PWM1 - rear spotlight
14 PWM2 - read wide light
15 PWM3 - front light
16 SENSE1
17 SENSE2
18 SENSE3
19 Ambient sense
20 Analog-on
21 SW1 - on/off button
22 SW2 - temporary light boost
23 LED1
24 LED2
25