Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Patrick Fitzgerald
Published

Arduino IDE program Artou ATmega32

Program ATmega32 devboard with MightyCore board support package.

AdvancedProtip3 hours702
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
124 projects • 43 followers
Contact

Comments

Please log in or sign up to comment.