// connect 8 leds to port A its row 1
// CONNECT 8 leds to port B its row 2 on 1st row led and 2nd row
//all the assignments are simulated here codes are on different projects
#include <stdint.h>
#define DDRA (*(volatile uint8_t*)0x21)
#define PORTA (*(volatile uint8_t*)0x22)
#define DDRB (*(volatile uint8_t*)0x24)
#define PORTB (*(volatile uint8_t*)0x25)
void setup() {
DDRA = 0xFF;
DDRB = 0xFF;
}
void loop() {
// put your main code here, to run repeatedly:
PORTA = 0xFF;
PORTB = 0xFF;
}