Hola. I was just adjusting the code for Spike to point the botanicalls at the new username, and also to adjust the moist/dry/watered values.
But when I open (the latest download OR my own copy of) BotanicallsTwitter.pde and try to upload or compile in Arduino 11, I get the following error:
In function 'void uart_putchar(char)':
error: 'UCSR0A' was not declared in this scope
in the “utility” pde file – which is, IIRC, the helper library from ladyada.
Here’s the function:
void uart_putchar(char c) {
while (!(UCSR0A & _BV(UDRE0)));
UDR0 = c;
}
Just to be sure that I didn’t damage anything, I downloaded the latest version of the source and opened it in Arduino 11, and hit compile. Same error.
Huh.
What’s odd is, I’ve successfully uploaded the original source code to the botanicalls in the past, when I had an LED problem, and I didn’t get this error, then.
I’m stumped. Any suggestions?