Advertisement
Guest User

Error Code

a guest
Sep 16th, 2016
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. Arduino: 1.6.11 (Windows 10), Board: "Arduino Nano, ATmega328"
  2.  
  3. Build options changed, rebuilding all
  4. E:\School Work\Arduino\Teensy3.1_Eyes-master\uncannyEyes\uncannyEyes.ino:460:17: warning: extra tokens at end of #ifdef directive
  5.  
  6. #ifdef IRIS_PIN && (IRIS_PIN >= 0) // Interactive iris
  7.  
  8. ^
  9.  
  10. In file included from E:\School Work\Arduino\Teensy3.1_Eyes-master\uncannyEyes\uncannyEyes.ino:20:0:
  11.  
  12. noScleraEye.h:4: error: size of array 'sclera' is too large
  13.  
  14. const uint16_t sclera[SCLERA_HEIGHT][SCLERA_WIDTH] = {
  15.  
  16. ^
  17.  
  18. noScleraEye.h:3209: error: size of array 'iris' is too large
  19.  
  20. const uint16_t iris[IRIS_MAP_HEIGHT][IRIS_MAP_WIDTH] = {
  21.  
  22. ^
  23.  
  24. noScleraEye.h:12437: error: size of array 'polar' is too large
  25.  
  26. const uint16_t polar[160][160] = {
  27.  
  28. ^
  29.  
  30. E:\School Work\Arduino\Teensy3.1_Eyes-master\uncannyEyes\uncannyEyes.ino: In function 'void drawEye(uint8_t, uint32_t, uint8_t, uint8_t, uint8_t, uint8_t)':
  31.  
  32. uncannyEyes:179: error: 'sclera' was not declared in this scope
  33.  
  34. p = sclera[scleraY][scleraX];
  35.  
  36. ^
  37.  
  38. uncannyEyes:181: error: 'polar' was not declared in this scope
  39.  
  40. p = polar[irisY][irisX]; // Polar angle/dist
  41.  
  42. ^
  43.  
  44. uncannyEyes:185: error: 'iris' was not declared in this scope
  45.  
  46. p = iris[d][a]; // Pixel = iris
  47.  
  48. ^
  49.  
  50. uncannyEyes:187: error: 'sclera' was not declared in this scope
  51.  
  52. p = sclera[scleraY][scleraX]; // Pixel = sclera
  53.  
  54. ^
  55.  
  56. uncannyEyes:191: error: 'KINETISK_SPI0' was not declared in this scope
  57.  
  58. while(KINETISK_SPI0.SR & 0xC000); // Wait for space in FIFO
  59.  
  60. ^
  61.  
  62. uncannyEyes:192: error: 'KINETISK_SPI0' was not declared in this scope
  63.  
  64. KINETISK_SPI0.PUSHR = p | SPI_PUSHR_CTAS(1) | SPI_PUSHR_CONT;
  65.  
  66. ^
  67.  
  68. uncannyEyes:192: error: 'SPI_PUSHR_CTAS' was not declared in this scope
  69.  
  70. KINETISK_SPI0.PUSHR = p | SPI_PUSHR_CTAS(1) | SPI_PUSHR_CONT;
  71.  
  72. ^
  73.  
  74. uncannyEyes:192: error: 'SPI_PUSHR_CONT' was not declared in this scope
  75.  
  76. KINETISK_SPI0.PUSHR = p | SPI_PUSHR_CTAS(1) | SPI_PUSHR_CONT;
  77.  
  78. ^
  79.  
  80. uncannyEyes:196: error: 'KINETISK_SPI0' was not declared in this scope
  81.  
  82. KINETISK_SPI0.SR |= SPI_SR_TCF; // Clear transfer flag
  83.  
  84. ^
  85.  
  86. uncannyEyes:196: error: 'SPI_SR_TCF' was not declared in this scope
  87.  
  88. KINETISK_SPI0.SR |= SPI_SR_TCF; // Clear transfer flag
  89.  
  90. ^
  91.  
  92. E:\School Work\Arduino\Teensy3.1_Eyes-master\uncannyEyes\uncannyEyes.ino: In function 'void frame(uint16_t)':
  93.  
  94. E:\School Work\Arduino\Teensy3.1_Eyes-master\uncannyEyes\uncannyEyes.ino:296:49: warning: integer overflow in expression [-Woverflow]
  95.  
  96. } while((d = (dx * dx + dy * dy)) > (1023 * 1023)); // Keep trying
  97.  
  98. ^
  99.  
  100. E:\School Work\Arduino\Teensy3.1_Eyes-master\uncannyEyes\uncannyEyes.ino:363:35: warning: integer overflow in expression [-Woverflow]
  101.  
  102. iScale = ((IRIS_MAP_HEIGHT + 1) * 1024) /
  103.  
  104. ^
  105.  
  106. Multiple libraries were found for "Adafruit_ST7735.h"
  107. Used: C:\Users\Vanessa\Documents\Arduino\libraries\Adafruit_ST7735_Library
  108. Not used: C:\Users\Vanessa\Documents\Arduino\libraries\Adafruit-ST7735-Library-master
  109. exit status 1
  110. size of array 'sclera' is too large
  111.  
  112. This report would have more information with
  113. "Show verbose output during compilation"
  114. option enabled in File -> Preferences.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement