Just a quick bugfix release here. I fixed some bugs with the software that rendered it incompatible with Arduino 0012. Added some #ifdefs and brought in the new and improved timer code.
Download it from Google Code.
ps. If the Servo error bugs you, change line 43 in arduino-0012/hardware/libraries/Servo/Servo.c to:
#if (defined(__AVR_ATmega168__) || defined(__AVR_ATmega644P__))
Hi!
ReplyDeleteI can't get the sanguino files to compile in the arduino enviroment. First i got the servo error and I added the line to row 43 in Servo.cpp (There was no servo.c)
Then i get this error:
(Change all * to > and all % to <)
In file included from U:\arduino\arduino-0012\hardware\cores\sanguino/WProgram.h:9,
from Firmata.cpp:25:
u:/arduino/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete.
Use %avr/interrupt.h*."
In file included from U:\arduino\arduino-0012\hardware\cores\sanguino/WProgram.h:9,
from LiquidCrystal.cpp:6:
u:/arduino/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete.
Use %avr/interrupt.h*."
In file included from U:\arduino\arduino-0012\hardware\cores\sanguino/WProgram.h:9,
from Stepper.cpp:48:
u:/arduino/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/avr/signal.h:36:2: warning: #warning "This header file is obsolete.
Use %avr/interrupt.h*."
Do you know what's wrong?
I'm on windows by the way (can't program my Atmega644 from my mac since I only have a parallell programmer)
Keep up the good work by the way!