The H2HC 2015 Badge is basically a customized Arduino Leonardo . As such it can be directly programmed from all Arduino compatible IDEs. It is important to note, that the H2HC 15 Badge is run at 5V.
Pin Out
When working with the Arduino IDE all pins can accessed the way they’re enumerated on the PCB. Due to the re-design the pins and the enumeration changed. The following lines of code list the pin names the way they are on the Badge.
/IO Pins
#define io1 13
#define io2 5
#define io3 10
#define io4 9
#define io5 8
#define io6 7
#define io7 12
#define io8 4
//UART
#define io9 1
#define iotx 1
#define io10 0
#define iorx 0
//I2C
#define io11 2
#define iosda 2
#define io12 3
#define ioscl 3
//SPI
#define io13 MOSI
#define iomosi MOSI
#define io14 MISO
#define iomiso MISO
#define io15 SCK
#define iosclk SCK
#define io16 A5
#define iocs1 A5
#define io17 A4
#define iocs2 A4
#define io18 A3
#define iocs3 A3
Images
Back | Layout |
---|---|