David Knight / Mbed 2 deprecated lichtspiel

Dependencies:   PololuLedStrip mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers board.h Source File

board.h

00001 #ifndef BOARD_H
00002 #define BOARD_H
00003 
00004 
00005 static const PinName BUTTON_PINS[] = {p21, p22, p23, p24, p25};
00006 static const uint8_t NUM_BUTTONS = sizeof(BUTTON_PINS)/sizeof(BUTTON_PINS[0]);
00007 
00008 static const PinName ANALOG_H_IN_PIN = p15;
00009 static const PinName ANALOG_S_IN_PIN = p16;
00010 static const PinName ANALOG_V_IN_PIN = p17;
00011 static const PinName STANDBY_BUTTON_LED_PIN = p18;
00012 static const PinName STANDBY_BUTTON_PIN = p26;
00013 static const PinName EFFECT_PLUGS_PINS[] = {p5, p6, p7, p8};    //p9, p10};
00014 static const uint8_t NUM_EFFECT_PLUGS = sizeof(EFFECT_PLUGS_PINS)/sizeof(EFFECT_PLUGS_PINS[0]);
00015 
00016 static const PinName LEDS_SINGLE_STRIP_PIN = p20;
00017 static const uint8_t LEDS_SINGLE_STRIP_NUM_LEDS = 3;
00018 static const PinName LEDS_MAIN_STRIP_PIN = p19;
00019 static const uint8_t LEDS_MAIN_STRIP_NUM_LEDS = 15;
00020 
00021 
00022 static const PinName ROTARY_PIN_A = p29;
00023 static const PinName ROTARY_PIN_B = p30;
00024 
00025 static const uint32_t EEPROM_SIZE = 256;
00026 
00027 
00028 
00029 
00030 
00031 #endif