Patrick Fitzgerald
Published

Arduino IDE program Artou ATmega32

Program ATmega32 devboard with MightyCore board support package.

AdvancedProtip3 hours631
Arduino IDE program Artou ATmega32

Things used in this project

Hardware components

Artou ATmega32 Development Board
×1
avr pocket programmer usbtiny
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

count32.ino

Arduino
Arduino sketch for ATmega32 MCU using MightyCore package
Binary count on Ports A, B, C, D. Uno does not have PORTA
// binary count on ports A to D
// Artou ATmega32 board has LEDs on PORTA-5 to 7
void setup()
  { DDRA=0xFF;DDRB=0xFF;DDRC=0xFF;DDRD=0xFF;}  // all 8 pins output
void loop()
  { PORTA++;PORTB++;PORTC++;PORTD++; delay(50); }

Credits

Patrick Fitzgerald

Patrick Fitzgerald

117 projects • 39 followers

Comments