05.08.2013, 15:08 | #521 | |
Бывалый писикарщик
Регистрация: 23.04.2009
Возраст: 53
Город: Ставрополь
Регион: 26
Машина: Opel Zafira 2007
Сообщений: 5,275
|
Цитата:
В папке скина DuinoKey файл duino_key_command.ini duino_<код кнопки>_command_0=команда при выключенном режиме SHIFT duino_<код кнопки>_command_1=команда при включенном режиме SHIFT Можешь просто удалить не нужные строки
__________________
Opel Zafira B --- ГАЗ 21 ВОЛГА в 21 веке --- Скин OpelZafira для RideRunner --- Скин CFStyle для RideRunner Плагин RRCheckEngine --- CFStyle для iCar DS --- iCarVOBD --- iCarDuino --- iCarCoreTemp --- iCarNotes --- iCarVoiceCommander |
|
07.08.2013, 19:58 | #522 |
Старший Пользователь
Регистрация: 13.05.2010
Возраст: 40
Город: Воронеж
Регион: 36
Машина: Jetta 6
Сообщений: 899
|
пытаюсь залить скетч на джостик с нашего клубного магазина... библиотеки класть в librares? правильно? выбрал в arduino 1.0.5 nano 328 и 77 порт (так прописался в ком) копирую скетч, вставляю, нажимаю загрузить... выскакивает ошибка при компиляции((
In file included from C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:14: C:\Program Files\Arduino\libraries\IRremote\/IRremoteInt.h:113: error: 'uint8_t' does not name a type C:\Program Files\Arduino\libraries\IRremote\/IRremoteInt.h:114: error: 'uint8_t' does not name a type C:\Program Files\Arduino\libraries\IRremote\/IRremoteInt.h:115: error: 'uint8_t' does not name a type C:\Program Files\Arduino\libraries\IRremote\/IRremoteInt.h:118: error: 'uint8_t' does not name a type C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::mark(int)': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:259: error: 'delayMicroseconds' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::space(int)': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:268: error: 'delayMicroseconds' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::enableIROut(int)': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:288: error: 'OUTPUT' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:288: error: 'pinMode' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:289: error: 'LOW' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:289: error: 'digitalWrite' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In constructor 'IRrecv::IRrecv(int)': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:306: error: 'volatile struct irparams_t' has no member named 'recvpin' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:307: error: 'volatile struct irparams_t' has no member named 'blinkflag' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::enableIRIn()': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:331: error: 'volatile struct irparams_t' has no member named 'rcvstate' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:332: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:336: error: 'volatile struct irparams_t' has no member named 'recvpin' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:336: error: 'INPUT' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:336: error: 'pinMode' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::blink13(int)': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:343: error: 'volatile struct irparams_t' has no member named 'blinkflag' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:345: error: 'OUTPUT' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:345: error: 'pinMode' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In function 'void __vector_9()': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:359: error: 'volatile struct irparams_t' has no member named 'recvpin' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:359: error: 'digitalRead' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:362: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:364: error: 'volatile struct irparams_t' has no member named 'rcvstate' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:366: error: 'volatile struct irparams_t' has no member named 'rcvstate' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:375: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:376: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:378: error: 'volatile struct irparams_t' has no member named 'rcvstate' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:384: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:386: error: 'volatile struct irparams_t' has no member named 'rcvstate' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:391: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:393: error: 'volatile struct irparams_t' has no member named 'rcvstate' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:401: error: 'volatile struct irparams_t' has no member named 'rcvstate' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:412: error: 'volatile struct irparams_t' has no member named 'blinkflag' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:414: error: 'B00100000' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:417: error: 'B11011111' was not declared in this scope C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::resume()': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:423: error: 'volatile struct irparams_t' has no member named 'rcvstate' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:424: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'int IRrecv::decode(decode_results*)': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:434: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:435: error: 'volatile struct irparams_t' has no member named 'rcvstate' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeJVC(decode_results*)': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:507: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:509: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:509: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:520: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeSAMSUNG(decode_results*)': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:566: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeNEC(decode_results*)': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:663: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:671: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeSony(decode_results*)': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:705: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:715: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeRC5(decode_results*)': C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:794: error: 'volatile struct irparams_t' has no member named 'rawlen' C:\Program Files\Arduino\libraries\IRremote\IRremote.cpp:805: error: 'volatile struct irparams_t' has no member named 'rawlen' |
07.08.2013, 20:33 | #523 |
Старший Пользователь
Регистрация: 13.05.2010
Возраст: 40
Город: Воронеж
Регион: 36
Машина: Jetta 6
Сообщений: 899
|
все разобрался... не подключалась библиотека IRremote. В ...\libraries\IRremote\IRremoteInt.h, строку 15 #include <WProgram.h> заменить на #include <Arduino.h>
|
07.08.2013, 20:39 | #524 |
Старший Пользователь
Регистрация: 13.05.2010
Возраст: 40
Город: Воронеж
Регион: 36
Машина: Jetta 6
Сообщений: 899
|
но все равно не могу прошить.. проходит компиляция.. и зависает на загрузке... и может загружать и пять минут... rx часто моргает на плате..
|
07.08.2013, 20:42 | #525 |
Старший Пользователь
Регистрация: 13.05.2010
Возраст: 40
Город: Воронеж
Регион: 36
Машина: Jetta 6
Сообщений: 899
|
стал давать вот эту ошибку
avrdude: stk500_getsync(): not in sync: resp=0x00 |
07.08.2013, 20:50 | #526 |
Старший Пользователь
Регистрация: 13.05.2010
Возраст: 40
Город: Воронеж
Регион: 36
Машина: Jetta 6
Сообщений: 899
|
нажал вывод подробный при загрузке..
avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "C:\Arduino\hardware/tools/avr/etc/avrdude.conf" Using Port : \\.\COM49 Using Programmer : arduino Overriding Baud Rate : 57600 avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Recv: avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude done. Thank you. Я так понимаю дуина тупо не отвечает почему то мне? |
07.08.2013, 21:01 | #527 |
Бывалый писикарщик
Регистрация: 23.04.2009
Возраст: 53
Город: Ставрополь
Регион: 26
Машина: Opel Zafira 2007
Сообщений: 5,275
|
А у тебя перемычка, разрешающая программирование, стоит?
__________________
Opel Zafira B --- ГАЗ 21 ВОЛГА в 21 веке --- Скин OpelZafira для RideRunner --- Скин CFStyle для RideRunner Плагин RRCheckEngine --- CFStyle для iCar DS --- iCarVOBD --- iCarDuino --- iCarCoreTemp --- iCarNotes --- iCarVoiceCommander |
07.08.2013, 21:04 | #528 |
Старший Пользователь
Регистрация: 13.05.2010
Возраст: 40
Город: Воронеж
Регион: 36
Машина: Jetta 6
Сообщений: 899
|
можно нескромный вопрос... какая??? по описанию есть один разьем и он вроде spk
|
07.08.2013, 21:06 | #529 |
Старший Пользователь
Регистрация: 13.05.2010
Возраст: 40
Город: Воронеж
Регион: 36
Машина: Jetta 6
Сообщений: 899
|
уууррряяяяя спасибо, помогло!!! а на carmonitor написано что это SPK((((
|
08.08.2013, 19:21 | #530 |
Пользователь
Регистрация: 20.09.2011
Возраст: 52
Город: Туапсе
Регион: 23, 93
Машина: Красно-оранжевый Ford C-Max "Букашка"
Сообщений: 45
|
|
Здесь присутствуют: 9 (пользователей: 0 , гостей: 9) | |
|
|