Witam ,
Otóż natknęłam się niedawno na artykuł o sterowaniu za pomocą pilota róznimi urządzeniami.
http://majsterkowo.pl/jak-sterowac-dowolnym-urzadzeniem-za-pomoca-pilota-i-arduino/Jako ze mam programator USBasp chciałam za pomocą programu Arduino na Atmege8 wgrać przykładowy program i zobaczyć czy dziła.
Wgrałam prosty program z diodą co mruga i zadziałało . Ale już przy kodzie z linku do pobierania adresów z pilota poprzez IR, niestety wywala mi owy błąd:
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: sketch_jul10a.cpp.elf section .text will not fit in region text
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: region text overflowed by 610 bytes
Chciałabym też dodać ze nie mam w menu wyboru portu
Przy kompilacji dla Atmegi16 mam następujący błąd:
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::mark(int)':
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:227: error: 'TCCR2A' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:227: error: 'COM2B1' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::space(int)':
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:235: error: 'TCCR2A' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:235: error: 'COM2B1' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::enableIROut(int)':
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:253: error: 'TIMSK2' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:263: error: 'TCCR2A' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:263: error: 'TCCR2B' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:263: error: 'WGM22' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:263: error: 'OCR2A' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:263: error: 'OCR2B' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::enableIRIn()':
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:279: error: 'TCCR2A' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:279: error: 'TCCR2B' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:279: error: 'OCR2A' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:282: error: 'TIMSK2' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\IRremote\IRremote.cpp:282: error: 'OCIE2A' was not declared in this scopeCzy ktoś się z owym problemem spotkał i mi może pomóc.