Society of Robots - Robot Forum
Software => Software => Topic started by: spizzak on July 26, 2009, 05:15:04 PM
-
Hey everyone, I get this warning when I change atmega8 to atmega328p in the makefile. Can anyone explain this or tell me how to fix it? Thanks
a2d.c:110: warning: 'SIG_ADC' appears to be a misspelled signal handler
-
hmmmm a google search only points to this thread, and:
http://hubbard.engr.scu.edu/embedded/avr/doc/avr-libc/avr-libc-user-manual.pdf
Just a guess, but try adding signal.h to your includes.
The AVR Libc package provides a subset of the standard C library for Atmel AVR 8-bit ...... invalid input character, such as an alphabetic character for a d conversion. The value ...... a handler for the ADC interrupt. #include <avr/signal.h> ... Thus, by misspelling one of the names below in a call to. SIGNAL() or ...