Is the Tinkerkit LCD code broken? When I try to compile for the leonardo, I get a compile error on Ardunio 1.6.6.
Code:
Arduino: 1.6.6 (Windows 7), Board: "Arduino Leonardo"
C:\Users\H-man\Documents\Arduino\sketch_feb07a\sketch_feb07a.ino: In function 'void USART_UDRE_vect()':
C:\Users\H-man\Documents\Arduino\sketch_feb07a\sketch_feb07a.ino:4219:6: warning: 'USART_UDRE_vect' appears to be a misspelled signal handler [enabled by default]
{
^
C:\Users\H-man\Documents\Arduino\sketch_feb07a\sketch_feb07a.ino: In function 'void serialTransmitEnable()':
sketch_feb07a:6489: error: 'UCSR0B' was not declared in this scope
}
^
sketch_feb07a:6489: error: 'TXEN0' was not declared in this scope
}
^
sketch_feb07a:6489: error: 'UDRIE0' was not declared in this scope
}
^
C:\Users\H-man\Documents\Arduino\sketch_feb07a\sketch_feb07a.ino: In function 'void serialTransmitDisable()':
sketch_feb07a:6496: error: 'UCSR0B' was not declared in this scope
}
^
C:\Users\H-man\Documents\Arduino\sketch_feb07a\sketch_feb07a.ino: In function 'void serialTransmitByte(uint8_t)':
sketch_feb07a:6503: error: 'UDR0' was not declared in this scope
}
^
C:\Users\H-man\Documents\Arduino\sketch_feb07a\sketch_feb07a.ino: In function 'int main()':
sketch_feb07a:8544: error: 'UBRR0H' was not declared in this scope
UCSR0A &= ~(1 << U2X0);
^
sketch_feb07a:8545: error: 'UBRR0L' was not declared in this scope
UCSR0B = 0; // disable serial uart pins
^
sketch_feb07a:8546: error: 'UCSR0A' was not declared in this scope
UCSR0C = (1 << UCSZ01)| (1 << UCSZ00); // set for 8 data bits, no parity, and 1 stop bit
^
sketch_feb07a:8546: error: 'U2X0' was not declared in this scope
UCSR0C = (1 << UCSZ01)| (1 << UCSZ00); // set for 8 data bits, no parity, and 1 stop bit
^
sketch_feb07a:8547: error: 'UCSR0B' was not declared in this scope
#ifdef useBufferedSerialPort
^
sketch_feb07a:8548: error: 'UCSR0C' was not declared in this scope
serialBuffer.init();
^
sketch_feb07a:8548: error: 'UCSZ01' was not declared in this scope
serialBuffer.init();
^
sketch_feb07a:8548: error: 'UCSZ00' was not declared in this scope
serialBuffer.init();
^
exit status 1
'UCSR0B' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.