Страница 18 из 20 ПерваяПервая ... 8121314151617181920 ПоследняяПоследняя
Показано с 171 по 180 из 200
  1. #171
    Местный
    Регистрация
    31.08.2009
    Возраст
    40
    Сообщений
    109
    Вес репутации
    207

    По умолчанию Re: Объединенный проект для Carduino (Arduino) All-In-One.

    такс... пытаюсь вычленить для себя информацию о кнопках на руле. Как ардуино понимает рулевые кнопки я понял, а вот вопросик, как он потом передает информацию на ПК? Я так понимаю, что должна быть какая-то программа на пк которая интерпретирует нажатия ардуины?
    прогу уже нашел. она под винду. Мне под андроид не подойдет. жаль
    Последний раз редактировалось Wave; 23.02.2013 в 00:17.

  2. #172
    Новичок
    Регистрация
    20.04.2013
    Сообщений
    4
    Вес репутации
    0

    По умолчанию Re: Объединенный проект для Carduino (Arduino) All-In-One.

    Здравствуйте, не могу найти где скачать библиотеку #include <IRremote.h> ткните плиз если не трудно.

  3. #173
    Новичок
    Регистрация
    20.04.2013
    Сообщений
    4
    Вес репутации
    0

    По умолчанию Re: Объединенный проект для Carduino (Arduino) All-In-One.

    Цитата Сообщение от Chip Посмотреть сообщение
    Скачайте библиотеку из этой темы http://www.compcar.ru/forum/showthread.php?t=4959
    Что то не получается у меня использовать данную библиотеку, компилятор arduino-1.0.4
    Выдает кучу ошибок после компиляции

    C:\arduino-1.0.4\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=104 -IC:\arduino-1.0.4\hardware\arduino\cores\arduino -IC:\arduino-1.0.4\hardware\arduino\variants\eightanaloginputs -IC:\arduino-1.0.4\libraries\IRremote C:\Users\Maikl\AppData\Local\Temp\build82993979537 73187129.tmp\All_in_one.cpp -o C:\Users\Maikl\AppData\Local\Temp\build82993979537 73187129.tmp\All_in_one.cpp.o
    All_in_one.ino: In function 'void joystik()':
    All_in_one.ino:101: warning: comparison between signed and unsigned integer expressions
    C:\arduino-1.0.4\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=104 -IC:\arduino-1.0.4\hardware\arduino\cores\arduino -IC:\arduino-1.0.4\hardware\arduino\variants\eightanaloginputs -IC:\arduino-1.0.4\libraries\IRremote -IC:\arduino-1.0.4\libraries\IRremote\utility C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp -o C:\Users\Maikl\AppData\Local\Temp\build82993979537 73187129.tmp\IRremote\IRremote.cpp.o
    In file included from C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:14:
    C:\arduino-1.0.4\libraries\IRremote\/IRremoteInt.h:15:22: warning: WProgram.h: No such file or directory
    In file included from C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:14:
    C:\arduino-1.0.4\libraries\IRremote\/IRremoteInt.h:113: error: 'uint8_t' does not name a type
    C:\arduino-1.0.4\libraries\IRremote\/IRremoteInt.h:114: error: 'uint8_t' does not name a type
    C:\arduino-1.0.4\libraries\IRremote\/IRremoteInt.h:115: error: 'uint8_t' does not name a type
    C:\arduino-1.0.4\libraries\IRremote\/IRremoteInt.h:118: error: 'uint8_t' does not name a type
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::mark(int)':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:259: error: 'delayMicroseconds' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::space(int)':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:268: error: 'delayMicroseconds' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'void IRsend::enableIROut(int)':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:288: error: 'OUTPUT' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:288: error: 'pinMode' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:289: error: 'LOW' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:289: error: 'digitalWrite' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In constructor 'IRrecv::IRrecv(int)':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:306: error: 'volatile struct irparams_t' has no member named 'recvpin'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:307: error: 'volatile struct irparams_t' has no member named 'blinkflag'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::enableIRIn()':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:331: error: 'volatile struct irparams_t' has no member named 'rcvstate'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:332: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:336: error: 'volatile struct irparams_t' has no member named 'recvpin'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:336: error: 'INPUT' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:336: error: 'pinMode' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::blink13(int)':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:343: error: 'volatile struct irparams_t' has no member named 'blinkflag'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:345: error: 'OUTPUT' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:345: error: 'pinMode' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In function 'void __vector_9()':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:359: error: 'volatile struct irparams_t' has no member named 'recvpin'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:359: error: 'digitalRead' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:362: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:364: error: 'volatile struct irparams_t' has no member named 'rcvstate'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:366: error: 'volatile struct irparams_t' has no member named 'rcvstate'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:375: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:376: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:378: error: 'volatile struct irparams_t' has no member named 'rcvstate'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:384: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:386: error: 'volatile struct irparams_t' has no member named 'rcvstate'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:391: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:393: error: 'volatile struct irparams_t' has no member named 'rcvstate'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:401: error: 'volatile struct irparams_t' has no member named 'rcvstate'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:412: error: 'volatile struct irparams_t' has no member named 'blinkflag'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:414: error: 'B00100000' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:417: error: 'B11011111' was not declared in this scope
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'void IRrecv::resume()':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:423: error: 'volatile struct irparams_t' has no member named 'rcvstate'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:424: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'int IRrecv::decode(decode_results*)':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:434: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:435: error: 'volatile struct irparams_t' has no member named 'rcvstate'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeJVC(decode_results*)':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:507: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:509: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:509: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:520: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeSAMSUNG(decode_results*)':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:566: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeNEC(decode_results*)':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:663: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:671: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeSony(decode_results*)':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:705: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:715: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp: In member function 'long int IRrecv::decodeRC5(decode_results*)':
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:794: error: 'volatile struct irparams_t' has no member named 'rawlen'
    C:\arduino-1.0.4\libraries\IRremote\IRremote.cpp:805: error: 'volatile struct irparams_t' has no member named 'rawlen'

  4. #174
    Новичок
    Регистрация
    20.04.2013
    Сообщений
    4
    Вес репутации
    0

    По умолчанию Re: Объединенный проект для Carduino (Arduino) All-In-One.

    Попробовал использовать версию компилятора 017 ошибок меньше, но результат опять не радует использую ардуино нано V3.0 пока голую т.е. только usb хвост воткнут...

    java.io.IOException: Target platform: "null" not found.
    Make sure that "build.target" in the
    preferences file points to a subdirectory of
    D:\Maikl\Auto\Carduino\arduino-0017\arduino-0017\hardware\cores
    at processing.app.debug.Target.<init>(Target.java:49)
    at processing.app.Editor$43.run(Editor.java:1751)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)


    ну не силен я в программировании.
    Кто в теме подскажите плиз куда копать...

  5. #175
    Новичок
    Регистрация
    27.01.2012
    Возраст
    43
    Сообщений
    2
    Вес репутации
    0

    По умолчанию Re: Объединенный проект для Carduino (Arduino) All-In-One.

    Что то не получается у меня использовать данную библиотеку, компилятор arduino-1.0.4
    Выдает кучу ошибок после компиляции
    Идите в C:\arduino\libraries\IRremote\IRremoteInt.h, строку 15 и замените

    #include <WProgram.h>

    на

    #include <Arduino.h>

  6. #176
    Новичок
    Регистрация
    20.04.2013
    Сообщений
    4
    Вес репутации
    0

    По умолчанию Re: Объединенный проект для Carduino (Arduino) All-In-One.

    Цитата Сообщение от gworum Посмотреть сообщение
    Идите в C:\arduino\libraries\IRremote\IRremoteInt.h, строку 15 и замените

    #include <WProgram.h>

    на

    #include <Arduino.h>
    Спасибо тебе мил человек огромное, после замены все скомпилилось вроде нормально... далее пойду после приобретения панельки и энкодера

  7. #177
    Новичок
    Регистрация
    11.06.2009
    Возраст
    50
    Сообщений
    18
    Вес репутации
    191

    По умолчанию Re: Объединенный проект для Carduino (Arduino) All-In-One.

    Уважаемый Chip. А где же взять программку вольтметра? второй день рою, у себя в копиях нашел страницу с вольтметром а на сайте ее уже нету. Скетч залил, обвязку делителем сделал, а результаты измерений посмотреть не могу. укажите пож где смотреть...

  8. #178
    Администратор Аватар для Chip
    Регистрация
    08.06.2007
    Возраст
    54
    Сообщений
    13,380
    Вес репутации
    10

    По умолчанию Re: Объединенный проект для Carduino (Arduino) All-In-One.

    Так программа в теме про вольтметр на arduino

  9. #179
    Новичок
    Регистрация
    11.06.2009
    Возраст
    50
    Сообщений
    18
    Вес репутации
    191

    По умолчанию Re: Объединенный проект для Carduino (Arduino) All-In-One.

    Спасибо большое.

  10. #180
    Новичок
    Регистрация
    30.12.2011
    Возраст
    52
    Сообщений
    5
    Вес репутации
    0

    По умолчанию Re: Объединенный проект для Carduino (Arduino) All-In-One.

    Цитата Сообщение от Chip Посмотреть сообщение
    Объединил в один скетч
    Уважаемый Chip!
    Программа во вложении пишет: "Запуск программы невозможен, так как на компьютере отсутствует ftd2xx.dll. Попробуйте переустановить программу."
    Я так понимаю, что это библиотека от USB-Моста FT232, через которую осуществляется обмен скетча, прошитого в ардуино, с компьютером.
    у меня в Ордуине стоит чип CP2103, дергаться бесполезно?
    Никак нельзя изменить модуль общения ардуины с компом для какой-то большей универсальности, БЕЗ ПРИВЯЗКИ к железу?
    а то ведь теряется универсальность, которая изначально закладывалась как краеугольный камень платформы Ардуино, и появляется некая избирательность по отношению к пользователям...

Страница 18 из 20 ПерваяПервая ... 8121314151617181920 ПоследняяПоследняя

Информация о теме

Пользователи, просматривающие эту тему

Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •