PROGRAMMING ATMEGA32 USING ARDUINO UNO

8 Просмотры
Издатель
COPY AND PASTE THIS LINK IN ADDITIONAL BOARDS MANAGER URL
http://openhardware.ro/boards/package_openhardwarero_index.json

IN \Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial.cpp

FIND AND replace:

#if defined(__AVR_ATmega8__)
config |= 0x80; // select UCSRC register (shared with UBRRH)
#endif

with:

#if defined(__AVR_ATmega8__) || defined(__AVR_ATmega32__) || defined(__AVR_ATmega16__)
config |= 0x80; // select UCSRC register (shared with UBRRH)
#endif

FACEBOOK PAGE https://www.facebook.com/AKASHWORLD614
Комментариев нет.