when I do a build and run from AVR studio and step through the code using CHAR I get the following error on the WHILE statement in the unsigned key (void) subroutine.
count=invalid location unsigned char 0x10F9[SRAM]
it works fine when I use INT
Search found 3 matches
- Tue Jun 26, 2007 3:39 pm
- Forum: C and ASM Programming
- Topic: problems with c for AVR course
- Replies: 4
- Views: 6911
- Tue Jun 26, 2007 2:34 pm
- Forum: C and ASM Programming
- Topic: problems with c for AVR course
- Replies: 4
- Views: 6911
thanks I think Ive solved the reading problem, the ISP frequency was set too high Ive alse solved the problems with the sample prograsm not working, each instance of CHAR needs replacing with int... it looks like the programs were written for a processor that supports CHAR, yet the Mega32 processor ...
- Mon Jun 25, 2007 3:25 pm
- Forum: C and ASM Programming
- Topic: problems with c for AVR course
- Replies: 4
- Views: 6911
problems with c for AVR course
Im trying to follow the C for AVR course, however Im finding it a frustrating experience! many of the examples compile with warnings as follows ../Ex24.c:27: warning: return type of 'main' is not `int' Example 2.4 debounce complete fails to work even if I run the example files. When I program the AV...