but I still have the same problem and print from the debugger
what has the debugger to do with all this?
I'd already did this,
I doubt it, because if you did it would work
Ok, here is a step by step guide:
1) Download
http://blog.zakkemble.co.uk/download/avr-gcc-8.1.0-x86-mingw.zip Or use this site:
http://blog.zakkemble.co.uk/avr-gcc-builds/2) Extract it to C:\AVR_GCC
3) Your compile should be at c:\AVR_GCC\bin\avr-gcc.exe
4) Open Codeblocks
5) Settings->Compiler->From the drop down list at the top select "GNU gcc compiler for AVR"
6) Toolchain executables->Compilers installation direcotry: "C:\AVR_GCC"
7) C compiler: avr-gcc.exe
c++ compiler: avr-g++.exe
linker for dynamic : avr-g++.exe
linker for static: avr-ar.exe
Hit ok
Create avr project:
File->New->Project->AVR-> follow the wizard
Before compiling you probably have to remove some ?unneeded? stuff from the post build steps:
1) Project->Build options->Pre/post build steps->Select the project name in the tree control on the left->Remove the "srec_cat" lines