Elektroda.pl
Elektroda.pl
X
Elektroda.pl
PCBway
Proszę, dodaj wyjątek dla www.elektroda.pl do Adblock.
Dzięki temu, że oglądasz reklamy, wspierasz portal i użytkowników.

Wytrawiarka mikroprocesorowa

23 Lis 2014 09:32 1080 8
  • Poziom 7  
    Jeśli źle umieściłem temat to bardzo proszę o przeniesienie.

    Kod który wklejam :

    Kod: text
    Zaloguj się, aby zobaczyć kod


    Wytrawiarka mikroprocesorowa
  • PCBway
  • PCBway
  • Poziom 7  
    Wiem, że programator USBASP kosztuje 20zł lecz jeśli posiadam już arduino to chciałbym je wykorzystać. Podejrzewam że jest coś źle z bibliotekami do termometru i do lcd ponieważ błędy pojawiają się takiego typu:

    sketch_nov24b:265: error: 'ds18b20_Read' was not declared in this scope

    lub strasznie dużo jest podobnych błędów do:

    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:22: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:22: error: 'PA4' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:24: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:24: error: 'PA4' was not declared in this scope
  • Poziom 7  
    Przed chwilą podłączyłem atmege do arduino i kliknąłem załaduj. Po czym wyskakują błędy ( inne niż przedtem ). Wcześnie faktycznie kompilowałem program zamiast go lądować. Spróbuje jeszcze od nowa zainstalować Arduino IDE i biblioteki może to coś da.


    sketch_nov24a.ino:20:21: error: ds18b20.c: No such file or directory
    sketch_nov24a.ino:21:51: error: ds18b20.h: No such file or directory
    In file included from sketch_nov24a.ino:17:
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c: In function 'void _LCD_OutNibble(unsigned char)':
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:22: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:22: error: 'PA4' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:24: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:24: error: 'PA4' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:27: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:27: error: 'PA5' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:29: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:29: error: 'PA5' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:32: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:32: error: 'PA6' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:34: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:34: error: 'PA6' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:37: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:37: error: 'PA7' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:39: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:39: error: 'PA7' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c: In function 'void _LCD_Write(unsigned char)':
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:48: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:48: error: 'PA3' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c: In function 'void LCD_WriteCommand(unsigned char)':
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:63: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:63: error: 'PA2' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c: In function 'void LCD_WriteData(unsigned char)':
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:73: error: 'PORTA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:73: error: 'PA2' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c: In function 'void LCD_Initalize()':
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:123: error: 'DDRA' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:123: error: 'PA4' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:124: error: 'PA5' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:125: error: 'PA6' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:126: error: 'PA7' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:127: error: 'PA3' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:128: error: 'PA2' was not declared in this scope
    C:\Users\xxxx\Documents\Arduino\libraries\HD44780/HD44780.c:130: error: 'PORTA' was not declared in this scope
    sketch_nov24a.ino: In function 'int main()':
    sketch_nov24a:260: error: 'ds18b20_ConvertT' was not declared in this scope
    sketch_nov24a:265: error: 'ds18b20_Read' was not declared in this scope