//Define Analog Pin
#define PinA0 14 // D14/A0 PC0 ADC[0]
#define PinA1 15 // D15/A1 PC1 ADC[1]
#define PinA2 16 // D16/A2 PC2 ADC[2]
#define PinA3 17 // D17/A3 PC3 ADC[3]
#define PinA4 18 // D18/A4 PC4 I2C SDA (Data) ADC[4]
#define PinA5 19 // D19/A5 PC5 I2C SCL (Clock) ADC[5]
#define PinA6 20 // A6 ADC[6] ADC[6]
#define PinA7 21 // A7 ADC[7] ADC[7]
// PinA10 10 // +5V +5V Power Rail Output
#define PinA11 11 // RESET PC6
// PinA12 12 // GND
// PinA13 13 // VIN Voltage Input 5-12V
// USB // USB Voltage Input 5V
//Define Digital Pin
// Pin 3,5,6,9,10,11 have hardware ~ PWM support.
#define PinD00 0 // D0/RX PD0 Serial (USART) RX
#define PinD01 1 // D1/TX PD1 Serial (USART) TX
#define PinD02 2 // D2 PD2 External interrupt INT0
#define PinD03 3 // D3~ PD3 External interrupt INT1
#define PinD04 4 // D4 PD4
#define PinD05 5 // D5~ PD5
#define PinD06 6 // D6~ PD6
#define PinD07 7 // D7 PD7
#define PinD08 8 // D8 PB0 P1 Atmega328 Serial Wire Debug
#define PinD09 9 // D9~ PB1 P2 Atmega328 Serial Wire Debug
#define PinD10 10 // D10~ PB2 SPI SS (Chip select) P3 Atmega328 Serial Wire Debug
#define PinD11 11 // D11~ PB3 CIP0 SPI MOSI P4 Atmega328 Serial Wire Debug
#define PinD12 12 // D12 PB4 COPI SPI MISO P5 Atmega328 Serial Wire Debug
#define PinD13 13 // D13 PB5 LED SPI SCLK (Clock) P6 Atmega328 Serial Wire Debug
// 8 bit timer Timer0, Timer 2
// 16 bit timer Timer1,
// GPIO Including External/Pin Change Interrupts
// Watchdog Timer Usage example
//Define Digital Pin
// +3V3 5V USB Power Output
void setup() {
// put your setup code here, to run once:
pinMode(PinA6, OUTPUT);
pinMode(PinA5, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(PinA6, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(PinA6, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
// put your main code here, to run repeatedly:
digitalWrite(PinA5, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(PinA5, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}