![]() |
Цитата:
Цитата:
Ему как бы все равно сколько у тебя кнопок и энкодеров. От того что есть коды будут передаваться, а от того чего нет соответственно ничего передаваться не будет. |
Скажите почему ошибка при компиляции?
In file included from D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:14: D:\1\arduino-1.0.5-r2\libraries\IRremote\/IRremoteInt.h:113: error: 'uint8_t' does not name a type D:\1\arduino-1.0.5-r2\libraries\IRremote\/IRremoteInt.h:114: error: 'uint8_t' does not name a type D:\1\arduino-1.0.5-r2\libraries\IRremote\/IRremoteInt.h:115: error: 'uint8_t' does not name a type D:\1\arduino-1.0.5-r2\libraries\IRremote\/IRremoteInt.h:118: error: 'uint8_t' does not name a type D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::mark(int)': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:259: error: 'delayMicroseconds' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::space(int)': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:268: error: 'delayMicroseconds' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::enableIROut(int)': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:288: error: 'OUTPUT' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:288: error: 'pinMode' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:289: error: 'LOW' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:289: error: 'digitalWrite' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In constructor 'IRrecv::IRrecv(int)': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:306: error: 'volatile struct irparams_t' has no member named 'recvpin' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:307: error: 'volatile struct irparams_t' has no member named 'blinkflag' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::enableIRIn()': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:331: error: 'volatile struct irparams_t' has no member named 'rcvstate' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:332: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:336: error: 'volatile struct irparams_t' has no member named 'recvpin' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:336: error: 'INPUT' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:336: error: 'pinMode' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::blink13(int)': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:343: error: 'volatile struct irparams_t' has no member named 'blinkflag' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:345: error: 'OUTPUT' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:345: error: 'pinMode' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In function 'void TIMER2_OVF_vect()': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:359: error: 'volatile struct irparams_t' has no member named 'recvpin' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:359: error: 'digitalRead' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:362: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:364: error: 'volatile struct irparams_t' has no member named 'rcvstate' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:366: error: 'volatile struct irparams_t' has no member named 'rcvstate' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:375: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:376: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:378: error: 'volatile struct irparams_t' has no member named 'rcvstate' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:384: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:386: error: 'volatile struct irparams_t' has no member named 'rcvstate' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:391: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:393: error: 'volatile struct irparams_t' has no member named 'rcvstate' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:401: error: 'volatile struct irparams_t' has no member named 'rcvstate' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:412: error: 'volatile struct irparams_t' has no member named 'blinkflag' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:414: error: 'B00100000' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:417: error: 'B11011111' was not declared in this scope D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::resume()': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:423: error: 'volatile struct irparams_t' has no member named 'rcvstate' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:424: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'int IRrecv::decode(decode_results*)': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:434: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:435: error: 'volatile struct irparams_t' has no member named 'rcvstate' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeJVC(decode_results*)': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:507: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:509: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:509: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:520: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeSAMSUNG(decode_results*)': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:566: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeNEC(decode_results*)': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:663: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:671: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeSony(decode_results*)': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:705: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:715: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeRC5(decode_results*)': D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:794: error: 'volatile struct irparams_t' has no member named 'rawlen' D:\1\arduino-1.0.5-r2\libraries\IRremote\IRremote.cpp:805: error: 'volatile struct irparams_t' has no member named 'rawlen' |
Похоже, у Вас кривая библиотека IRremote. Раз Вам не нужен инфракрасный пульт, просто удалитеиз исходника все, что касается IRremote.
|
там много всего про IR, много где завязан
боюсь удалить не то |
может есть у кого ном. библиотека?
|
Цитата:
Сам не использую этот скетч, у меня только кнопки руля. |
блин может не заработать у меня с этим скетчем, так как делал под вот этот
хотя может и заработает но наверное без нажатия на энкодер, не поню только на какие входы я что повесил блин |
https://github.com/z3t0/Arduino-IRremote/releases
Скачал отсюда ...irremote..., переименовал и подключил к arduino 1.6.8. Все компилируется без ошибок. Понятно, что заливать-проверять не буду. Успехов! |
Новая проблема. На win7-64 arduino v7 работала нормально. Поставил win10-64 - работать не хочет. Порт в конфигураторе выставлен, скорость тоже. Реакции в настройках duino в икаре нет. Куда лезть?
Версия 60b 15 |
В семерке решалась откатыванием дров сом до 2.8.14 в десятке уже не помогает,
Только оригинальные микросxемы, у меня из 5-ти дуинок только 2 работают под десяткой |
Часовой пояс GMT +4, время: 19:39. |
Работает на vBulletin® версия 3.8.4.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Перевод: zCarot