Advertisement
Guest User

IR_attiny85_arduino

a guest
Nov 26th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 15.79 KB | None | 0 0
  1.  
  2.  
  3. In file included from /usr/share/arduino/libraries/IRremote/IRremote.cpp:13:0:
  4. /usr/share/arduino/libraries/IRremote/IRremoteInt.h:96:3: error: ‘uint8_t’ does not name a type
  5.    uint8_t recvpin;           // pin for IR data from detector
  6.    ^
  7. /usr/share/arduino/libraries/IRremote/IRremoteInt.h:97:3: error: ‘uint8_t’ does not name a type
  8.    uint8_t rcvstate;          // state machine
  9.    ^
  10. /usr/share/arduino/libraries/IRremote/IRremoteInt.h:98:3: error: ‘uint8_t’ does not name a type
  11.    uint8_t blinkflag;         // TRUE to enable blinking of pin 13 on IR processing
  12.    ^
  13. /usr/share/arduino/libraries/IRremote/IRremoteInt.h:101:3: error: ‘uint8_t’ does not name a type
  14.    uint8_t rawlen;         // counter of entries in rawbuf
  15.    ^
  16. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In member function ‘void IRsend::mark(int):
  17. /usr/share/arduino/libraries/IRremote/IRremote.cpp:176:3: error: ‘TCCR2A’ was not declared in this scope
  18.    TCCR2A |= _BV(COM2B1); // Enable pin 3 PWM output
  19.    ^
  20. In file included from /usr/lib/avr/include/avr/io.h:99:0,
  21.                  from /usr/lib/avr/include/avr/interrupt.h:38,
  22.                  from /usr/share/arduino/libraries/IRremote/IRremote.cpp:16:
  23. /usr/share/arduino/libraries/IRremote/IRremote.cpp:176:17: error: ‘COM2B1’ was not declared in this scope
  24.    TCCR2A |= _BV(COM2B1); // Enable pin 3 PWM output
  25.                  ^
  26. /usr/share/arduino/libraries/IRremote/IRremote.cpp:178:25: error: ‘delayMicroseconds’ was not declared in this scope
  27.    delayMicroseconds(time);
  28.                          ^
  29. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In member function ‘void IRsend::space(int):
  30. /usr/share/arduino/libraries/IRremote/IRremote.cpp:188:3: error: ‘TCCR2A’ was not declared in this scope
  31.    TCCR2A &= ~(_BV(COM2B1)); // Disable pin 3 PWM output
  32.    ^
  33. In file included from /usr/lib/avr/include/avr/io.h:99:0,
  34.                  from /usr/lib/avr/include/avr/interrupt.h:38,
  35.                  from /usr/share/arduino/libraries/IRremote/IRremote.cpp:16:
  36. /usr/share/arduino/libraries/IRremote/IRremote.cpp:188:19: error: ‘COM2B1’ was not declared in this scope
  37.    TCCR2A &= ~(_BV(COM2B1)); // Disable pin 3 PWM output
  38.                    ^
  39. /usr/share/arduino/libraries/IRremote/IRremote.cpp:190:27: error: ‘delayMicroseconds’ was not declared in this scope
  40.      delayMicroseconds(time);
  41.                            ^
  42. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In member function ‘void IRsend::enableIROut(int):
  43. /usr/share/arduino/libraries/IRremote/IRremote.cpp:210:3: error: ‘TIMSK2’ was not declared in this scope
  44.    TIMSK2 &= ~_BV(TOIE2); //Timer2 Overflow Interrupt
  45.    ^
  46. In file included from /usr/lib/avr/include/avr/io.h:99:0,
  47.                  from /usr/lib/avr/include/avr/interrupt.h:38,
  48.                  from /usr/share/arduino/libraries/IRremote/IRremote.cpp:16:
  49. /usr/share/arduino/libraries/IRremote/IRremote.cpp:210:18: error: ‘TOIE2’ was not declared in this scope
  50.    TIMSK2 &= ~_BV(TOIE2); //Timer2 Overflow Interrupt
  51.                   ^
  52. /usr/share/arduino/libraries/IRremote/IRremote.cpp:213:14: error: ‘OUTPUT’ was not declared in this scope
  53.    pinMode(3, OUTPUT);
  54.               ^
  55. /usr/share/arduino/libraries/IRremote/IRremote.cpp:213:20: error: ‘pinMode’ was not declared in this scope
  56.    pinMode(3, OUTPUT);
  57.                     ^
  58. /usr/share/arduino/libraries/IRremote/IRremote.cpp:214:19: error: ‘LOW’ was not declared in this scope
  59.    digitalWrite(3, LOW); // When not sending PWM, we want it low
  60.                    ^
  61. /usr/share/arduino/libraries/IRremote/IRremote.cpp:214:22: error: ‘digitalWrite’ was not declared in this scope
  62.    digitalWrite(3, LOW); // When not sending PWM, we want it low
  63.                       ^
  64. /usr/share/arduino/libraries/IRremote/IRremote.cpp:228:3: error: ‘TCCR2A’ was not declared in this scope
  65.    TCCR2A = _BV(WGM20);
  66.    ^
  67. In file included from /usr/lib/avr/include/avr/io.h:99:0,
  68.                  from /usr/lib/avr/include/avr/interrupt.h:38,
  69.                  from /usr/share/arduino/libraries/IRremote/IRremote.cpp:16:
  70. /usr/share/arduino/libraries/IRremote/IRremote.cpp:228:16: error: ‘WGM20’ was not declared in this scope
  71.    TCCR2A = _BV(WGM20);
  72.                 ^
  73. /usr/share/arduino/libraries/IRremote/IRremote.cpp:229:3: error: ‘TCCR2B’ was not declared in this scope
  74.    TCCR2B = _BV(WGM22) | _BV(CS20);
  75.    ^
  76. In file included from /usr/lib/avr/include/avr/io.h:99:0,
  77.                  from /usr/lib/avr/include/avr/interrupt.h:38,
  78.                  from /usr/share/arduino/libraries/IRremote/IRremote.cpp:16:
  79. /usr/share/arduino/libraries/IRremote/IRremote.cpp:229:16: error: ‘WGM22’ was not declared in this scope
  80.    TCCR2B = _BV(WGM22) | _BV(CS20);
  81.                 ^
  82. /usr/share/arduino/libraries/IRremote/IRremote.cpp:229:29: error: ‘CS20’ was not declared in this scope
  83.    TCCR2B = _BV(WGM22) | _BV(CS20);
  84.                              ^
  85. /usr/share/arduino/libraries/IRremote/IRremote.cpp:232:3: error: ‘OCR2A’ was not declared in this scope
  86.    OCR2A = SYSCLOCK / 2 / khz / 1000;
  87.    ^
  88. /usr/share/arduino/libraries/IRremote/IRremote.cpp:233:3: error: ‘OCR2B’ was not declared in this scope
  89.    OCR2B = OCR2A / 3; // 33% duty cycle
  90.    ^
  91. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In constructor ‘IRrecv::IRrecv(int):
  92. /usr/share/arduino/libraries/IRremote/IRremote.cpp:241:12: error:volatile struct irparams_t’ has no member named ‘recvpin’
  93.    irparams.recvpin = recvpin;
  94.             ^
  95. /usr/share/arduino/libraries/IRremote/IRremote.cpp:242:12: error:volatile struct irparams_t’ has no member named ‘blinkflag’
  96.    irparams.blinkflag = 0;
  97.             ^
  98. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In member function ‘void IRrecv::enableIRIn():
  99. /usr/share/arduino/libraries/IRremote/IRremote.cpp:262:3: error: ‘TCCR2A’ was not declared in this scope
  100.    TCCR2A = 0;  // normal mode
  101.    ^
  102. In file included from /usr/lib/avr/include/avr/io.h:99:0,
  103.                  from /usr/lib/avr/include/avr/interrupt.h:38,
  104.                  from /usr/share/arduino/libraries/IRremote/IRremote.cpp:16:
  105. /usr/share/arduino/libraries/IRremote/IRremote.cpp:267:7: error: ‘TCCR2B’ was not declared in this scope
  106.    cbi(TCCR2B,CS22);
  107.        ^
  108. /usr/share/arduino/libraries/IRremote/IRremote.cpp:267:3: note: in expansion of macro ‘cbi’
  109.    cbi(TCCR2B,CS22);
  110.    ^
  111. /usr/share/arduino/libraries/IRremote/IRremote.cpp:267:14: error: ‘CS22’ was not declared in this scope
  112.    cbi(TCCR2B,CS22);
  113.               ^
  114. /usr/share/arduino/libraries/IRremote/IRremote.cpp:267:3: note: in expansion of macro ‘cbi’
  115.    cbi(TCCR2B,CS22);
  116.    ^
  117. /usr/share/arduino/libraries/IRremote/IRremote.cpp:268:14: error: ‘CS21’ was not declared in this scope
  118.    sbi(TCCR2B,CS21);
  119.               ^
  120. /usr/share/arduino/libraries/IRremote/IRremote.cpp:268:3: note: in expansion of macro ‘sbi’
  121.    sbi(TCCR2B,CS21);
  122.    ^
  123. /usr/share/arduino/libraries/IRremote/IRremote.cpp:269:14: error: ‘CS20’ was not declared in this scope
  124.    cbi(TCCR2B,CS20);
  125.               ^
  126. /usr/share/arduino/libraries/IRremote/IRremote.cpp:269:3: note: in expansion of macro ‘cbi’
  127.    cbi(TCCR2B,CS20);
  128.    ^
  129. /usr/share/arduino/libraries/IRremote/IRremote.cpp:272:7: error: ‘TIMSK2’ was not declared in this scope
  130.    sbi(TIMSK2,TOIE2);
  131.        ^
  132. /usr/share/arduino/libraries/IRremote/IRremote.cpp:272:3: note: in expansion of macro ‘sbi’
  133.    sbi(TIMSK2,TOIE2);
  134.    ^
  135. /usr/share/arduino/libraries/IRremote/IRremote.cpp:272:14: error: ‘TOIE2’ was not declared in this scope
  136.    sbi(TIMSK2,TOIE2);
  137.               ^
  138. /usr/share/arduino/libraries/IRremote/IRremote.cpp:272:3: note: in expansion of macro ‘sbi’
  139.    sbi(TIMSK2,TOIE2);
  140.    ^
  141. In file included from /usr/share/arduino/libraries/IRremote/IRremote.cpp:13:0:
  142. /usr/share/arduino/libraries/IRremote/IRremoteInt.h:45:24: error: ‘TCNT2’ was not declared in this scope
  143.    #define RESET_TIMER2 TCNT2 = INIT_TIMER_COUNT2
  144.                         ^
  145. /usr/share/arduino/libraries/IRremote/IRremote.cpp:278:3: note: in expansion of macro ‘RESET_TIMER2’
  146.    RESET_TIMER2;
  147.    ^
  148. /usr/share/arduino/libraries/IRremote/IRremote.cpp:283:12: error:volatile struct irparams_t’ has no member named ‘rcvstate’
  149.    irparams.rcvstate = STATE_IDLE;
  150.             ^
  151. /usr/share/arduino/libraries/IRremote/IRremote.cpp:284:12: error:volatile struct irparams_t’ has no member named ‘rawlen’
  152.    irparams.rawlen = 0;
  153.             ^
  154. /usr/share/arduino/libraries/IRremote/IRremote.cpp:288:20: error:volatile struct irparams_t’ has no member named ‘recvpin’
  155.    pinMode(irparams.recvpin, INPUT);
  156.                     ^
  157. /usr/share/arduino/libraries/IRremote/IRremote.cpp:288:29: error: ‘INPUT’ was not declared in this scope
  158.    pinMode(irparams.recvpin, INPUT);
  159.                              ^
  160. /usr/share/arduino/libraries/IRremote/IRremote.cpp:288:34: error: ‘pinMode’ was not declared in this scope
  161.    pinMode(irparams.recvpin, INPUT);
  162.                                   ^
  163. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In member function ‘void IRrecv::blink13(int):
  164. /usr/share/arduino/libraries/IRremote/IRremote.cpp:294:12: error:volatile struct irparams_t’ has no member named ‘blinkflag’
  165.    irparams.blinkflag = blinkflag;
  166.             ^
  167. /usr/share/arduino/libraries/IRremote/IRremote.cpp:296:23: error: ‘OUTPUT’ was not declared in this scope
  168.      pinMode(BLINKLED, OUTPUT);
  169.                        ^
  170. /usr/share/arduino/libraries/IRremote/IRremote.cpp:296:29: error: ‘pinMode’ was not declared in this scope
  171.      pinMode(BLINKLED, OUTPUT);
  172.                              ^
  173. In file included from /usr/share/arduino/libraries/IRremote/IRremote.cpp:13:0:
  174. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In function ‘void __vector_5():
  175. /usr/share/arduino/libraries/IRremote/IRremoteInt.h:45:24: error: ‘TCNT2’ was not declared in this scope
  176.    #define RESET_TIMER2 TCNT2 = INIT_TIMER_COUNT2
  177.                         ^
  178. /usr/share/arduino/libraries/IRremote/IRremote.cpp:308:3: note: in expansion of macro ‘RESET_TIMER2’
  179.    RESET_TIMER2;
  180.    ^
  181. /usr/share/arduino/libraries/IRremote/IRremote.cpp:310:50: error:volatile struct irparams_t’ has no member named ‘recvpin’
  182.    uint8_t irdata = (uint8_t)digitalRead(irparams.recvpin);
  183.                                                   ^
  184. /usr/share/arduino/libraries/IRremote/IRremote.cpp:310:57: error: ‘digitalRead’ was not declared in this scope
  185.    uint8_t irdata = (uint8_t)digitalRead(irparams.recvpin);
  186.                                                          ^
  187. /usr/share/arduino/libraries/IRremote/IRremote.cpp:313:16: error:volatile struct irparams_t’ has no member named ‘rawlen’
  188.    if (irparams.rawlen >= RAWBUF) {
  189.                 ^
  190. /usr/share/arduino/libraries/IRremote/IRremote.cpp:315:14: error:volatile struct irparams_t’ has no member named ‘rcvstate’
  191.      irparams.rcvstate = STATE_STOP;
  192.               ^
  193. /usr/share/arduino/libraries/IRremote/IRremote.cpp:317:19: error:volatile struct irparams_t’ has no member named ‘rcvstate’
  194.    switch(irparams.rcvstate) {
  195.                    ^
  196. /usr/share/arduino/libraries/IRremote/IRremote.cpp:326:18: error:volatile struct irparams_t’ has no member named ‘rawlen’
  197.          irparams.rawlen = 0;
  198.                   ^
  199. /usr/share/arduino/libraries/IRremote/IRremote.cpp:327:34: error:volatile struct irparams_t’ has no member named ‘rawlen’
  200.          irparams.rawbuf[irparams.rawlen++] = irparams.timer;
  201.                                   ^
  202. /usr/share/arduino/libraries/IRremote/IRremote.cpp:329:18: error:volatile struct irparams_t’ has no member named ‘rcvstate’
  203.          irparams.rcvstate = STATE_MARK;
  204.                   ^
  205. /usr/share/arduino/libraries/IRremote/IRremote.cpp:335:32: error:volatile struct irparams_t’ has no member named ‘rawlen’
  206.        irparams.rawbuf[irparams.rawlen++] = irparams.timer;
  207.                                 ^
  208. /usr/share/arduino/libraries/IRremote/IRremote.cpp:337:16: error:volatile struct irparams_t’ has no member named ‘rcvstate’
  209.        irparams.rcvstate = STATE_SPACE;
  210.                 ^
  211. /usr/share/arduino/libraries/IRremote/IRremote.cpp:342:32: error:volatile struct irparams_t’ has no member named ‘rawlen’
  212.        irparams.rawbuf[irparams.rawlen++] = irparams.timer;
  213.                                 ^
  214. /usr/share/arduino/libraries/IRremote/IRremote.cpp:344:16: error:volatile struct irparams_t’ has no member named ‘rcvstate’
  215.        irparams.rcvstate = STATE_MARK;
  216.                 ^
  217. /usr/share/arduino/libraries/IRremote/IRremote.cpp:352:18: error:volatile struct irparams_t’ has no member named ‘rcvstate’
  218.          irparams.rcvstate = STATE_STOP;
  219.                   ^
  220. /usr/share/arduino/libraries/IRremote/IRremote.cpp:363:16: error:volatile struct irparams_t’ has no member named ‘blinkflag’
  221.    if (irparams.blinkflag) {
  222.                 ^
  223. /usr/share/arduino/libraries/IRremote/IRremote.cpp:365:16: error: ‘B00100000’ was not declared in this scope
  224.        PORTB |= B00100000;  // turn pin 13 LED on
  225.                 ^
  226. /usr/share/arduino/libraries/IRremote/IRremote.cpp:368:16: error: ‘B11011111’ was not declared in this scope
  227.        PORTB &= B11011111;  // turn pin 13 LED off
  228.                 ^
  229. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In member function ‘void IRrecv::resume():
  230. /usr/share/arduino/libraries/IRremote/IRremote.cpp:374:12: error:volatile struct irparams_t’ has no member named ‘rcvstate’
  231.    irparams.rcvstate = STATE_IDLE;
  232.             ^
  233. /usr/share/arduino/libraries/IRremote/IRremote.cpp:375:12: error:volatile struct irparams_t’ has no member named ‘rawlen’
  234.    irparams.rawlen = 0;
  235.             ^
  236. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In member function ‘int IRrecv::decode(decode_results*):
  237. /usr/share/arduino/libraries/IRremote/IRremote.cpp:385:30: error:volatile struct irparams_t’ has no member named ‘rawlen’
  238.    results->rawlen = irparams.rawlen;
  239.                               ^
  240. /usr/share/arduino/libraries/IRremote/IRremote.cpp:386:16: error:volatile struct irparams_t’ has no member named ‘rcvstate’
  241.    if (irparams.rcvstate != STATE_STOP) {
  242.                 ^
  243. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In member function ‘long int IRrecv::decodeNEC(decode_results*):
  244. /usr/share/arduino/libraries/IRremote/IRremote.cpp:434:16: error:volatile struct irparams_t’ has no member named ‘rawlen’
  245.    if (irparams.rawlen == 4 &&
  246.                 ^
  247. /usr/share/arduino/libraries/IRremote/IRremote.cpp:442:16: error:volatile struct irparams_t’ has no member named ‘rawlen’
  248.    if (irparams.rawlen < 2 * NEC_BITS + 4) {
  249.                 ^
  250. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In member function ‘long int IRrecv::decodeSony(decode_results*):
  251. /usr/share/arduino/libraries/IRremote/IRremote.cpp:475:16: error:volatile struct irparams_t’ has no member named ‘rawlen’
  252.    if (irparams.rawlen < 2 * SONY_BITS + 2) {
  253.                 ^
  254. /usr/share/arduino/libraries/IRremote/IRremote.cpp:485:32: error:volatile struct irparams_t’ has no member named ‘rawlen’
  255.    while (offset + 1 < irparams.rawlen) {
  256.                                 ^
  257. /usr/share/arduino/libraries/IRremote/IRremote.cpp: In member function ‘long int IRrecv::decodeRC5(decode_results*):
  258. /usr/share/arduino/libraries/IRremote/IRremote.cpp:560:16: error:volatile struct irparams_t’ has no member named ‘rawlen’
  259.    if (irparams.rawlen < MIN_RC5_SAMPLES + 2) {
  260.                 ^
  261. /usr/share/arduino/libraries/IRremote/IRremote.cpp:571:37: error:volatile struct irparams_t’ has no member named ‘rawlen’
  262.    for (nbits = 0; offset < irparams.rawlen; nbits++) {
  263.                                      ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement