Eliot89 wrote:I know this probably doesn't make any sense but I added eib.hex to the list or "program-whatever: whatever.hex" in the makefile and it loaded onto the attny without any problems.
that would fix it.
Eliot89 wrote:it still displays the "obsolete header file" warning when I compile the .hex file though. I guess that just isn't an issue.
it will continue to do this. the use of the header file signal.h has been deprecated but is still supported. the way interrupts are handled has changed. mostly, i think, it's a matter of naming conventions. interrupt names now more closely follow names used in atmel's datasheets. some day you'll upgrade avr-libc and the warnings will become errors.
to avoid this change the following in your code...
- Code: Select all
#include <signal.h>
to
- Code: Select all
#include <interrupt.h>
and
- Code: Select all
SIGNAL (SIG_TIMER1_COMPA) {
to
- Code: Select all
ISR (TIMER1_COMPA_vect) {
ought to get rid of your warning.
"i want to lead a dissipate existence, play scratchy records and enjoy my decline" - iggy pop, i need more