Facebook
From Arkadiusz Izdebski, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 294
  1. Arduino:1.8.2 (Windows Store 1.8.3.0) (Windows 10), Płytka:"Arduino Nano, ATmega328"
  2.  
  3. C:\Users\seba\Documents\Arduino\nwm\sketch_may15a\sketch_may15a.ino:1:0: warning: "F_CPU" redefined
  4.  
  5.  #define F_CPU 8000000UL //zegar 8Mhz
  6.  
  7.  ^
  8.  
  9. <command-line>:0:0: note: this is the location of the previous definition
  10.  
  11. C:\Users\seba\Documents\Arduino\nwm\sketch_may15a\sketch_may15a.ino: In function 'int main()':
  12.  
  13. sketch_may15a:49: error: 'DDRA' was not declared in this scope
  14.  
  15.    DDRA = 0xff;
  16.  
  17.    ^
  18.  
  19. sketch_may15a:3: error: 'PC7' was not declared in this scope
  20.  
  21.  #define K2 PC7
  22.  
  23.             ^
  24.  
  25. C:\Users\seba\Documents\Arduino\nwm\sketch_may15a\sketch_may15a.ino:483:20: note: in expansion of macro 'K2'
  26.  
  27.        PORTC |= (1<<K2);
  28.  
  29.                     ^
  30.  
  31. sketch_may15a:515: error: 'PORTA' was not declared in this scope
  32.  
  33.        PORTA |= (1<<K10);
  34.  
  35.        ^
  36.  
  37. sketch_may15a:11: error: 'PA7' was not declared in this scope
  38.  
  39.  #define K10 PA7
  40.  
  41.              ^
  42.  
  43. C:\Users\seba\Documents\Arduino\nwm\sketch_may15a\sketch_may15a.ino:515:20: note: in expansion of macro 'K10'
  44.  
  45.        PORTA |= (1<<K10);
  46.  
  47.                     ^
  48.  
  49. sketch_may15a:12: error: 'PA6' was not declared in this scope
  50.  
  51.  #define K11 PA6
  52.  
  53.              ^
  54.  
  55. C:\Users\seba\Documents\Arduino\nwm\sketch_may15a\sketch_may15a.ino:519:20: note: in expansion of macro 'K11'
  56.  
  57.        PORTA |= (1<<K11);
  58.  
  59.                     ^
  60.  
  61. sketch_may15a:13: error: 'PA5' was not declared in this scope
  62.  
  63.  #define K12 PA5
  64.  
  65.              ^
  66.  
  67. C:\Users\seba\Documents\Arduino\nwm\sketch_may15a\sketch_may15a.ino:523:20: note: in expansion of macro 'K12'
  68.  
  69.        PORTA |= (1<<K12);
  70.  
  71.                     ^
  72.  
  73. sketch_may15a:14: error: 'PA4' was not declared in this scope
  74.  
  75.  #define K13 PA4
  76.  
  77.              ^
  78.  
  79. C:\Users\seba\Documents\Arduino\nwm\sketch_may15a\sketch_may15a.ino:527:20: note: in expansion of macro 'K13'
  80.  
  81.        PORTA |= (1<<K13);
  82.  
  83.                     ^
  84.  
  85. sketch_may15a:15: error: 'PA3' was not declared in this scope
  86.  
  87.  #define K14 PA3
  88.  
  89.              ^
  90.  
  91. C:\Users\seba\Documents\Arduino\nwm\sketch_may15a\sketch_may15a.ino:531:20: note: in expansion of macro 'K14'
  92.  
  93.        PORTA |= (1<<K14);
  94.  
  95.                     ^
  96.  
  97. sketch_may15a:16: error: 'PA2' was not declared in this scope
  98.  
  99.  #define K15 PA2
  100.  
  101.              ^
  102.  
  103. C:\Users\seba\Documents\Arduino\nwm\sketch_may15a\sketch_may15a.ino:535:20: note: in expansion of macro 'K15'
  104.  
  105.        PORTA |= (1<<K15);
  106.  
  107.                     ^
  108.  
  109. sketch_may15a:17: error: 'PA1' was not declared in this scope
  110.  
  111.  #define K16 PA1
  112.  
  113.              ^
  114.  
  115. C:\Users\seba\Documents\Arduino\nwm\sketch_may15a\sketch_may15a.ino:539:20: note: in expansion of macro 'K16'
  116.  
  117.        PORTA |= (1<<K16);
  118.  
  119.                     ^
  120.  
  121. sketch_may15a:18: error: 'PA0' was not declared in this scope
  122.  
  123.  #define K17 PA0
  124.  
  125.              ^
  126.  
  127. C:\Users\seba\Documents\Arduino\nwm\sketch_may15a\sketch_may15a.ino:543:20: note: in expansion of macro 'K17'
  128.  
  129.        PORTA |= (1<<K17);
  130.  
  131.                     ^
  132.  
  133. exit status 1
  134. 'DDRA' was not declared in this scope
  135.  
  136. Ten raport powinien zawierać więcej informacji jeśli w
  137. File -> Preferencje zostanie włączona opcja "Pokaż
  138. szczegółowe informacje podczas kompilacji"