Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Guitar Tuner Help

2004-04-13 by weston54

OK, that'd be where I'm having trouble then, I don't have a 
makefile.  Is there a default makefile that can be created for this?

Mark


--- In AVR-Chat@yahoogroups.com, "upand_at_them" 
<upand_at_them@y...> wrote:
> I got it to compile just fine.
> 
> Change your includes:
> #include <avr/io.h>
> #include <avr/signal.h>
> 
> And make sure your makefile has the correct MCU:
> # MCU name
> MCU = at90s2323
> 
> -Mike
> 
> 
> --- In AVR-Chat@yahoogroups.com, "weston54" <weston54@y...> wrote:
> > Jesper Hansen published his schematic and code for a very simple 
> > guitar tuner using an Atmel 2323 chip and GCC code.   You can 
find 
> > it at http://www.myplace.nu/avr/gtuner/index.htm.  And while it 
was 
> > a cinch to assemble, I'm having a bit of trouble with the code.  
He 
> > wrote it using an earlier version of AVR-GCC, and it doesn't 
appear 
> > to compile in the newest version.  I asked Jesper for some 
> > assistance, but he did this several years ago, and I'm sure he 
gets 
> > way too many emails about it already.  Bottom line, he can't 
> support 
> > the code.  
> > 
> > Anyway,  here's my question.  I've installed the latest version 
of 
> > AVR-GCC using all of the default settings.  I load the C code 
from 
> > Jesper's site, and when I attempt to compile it gives me an eror 
> > saying that a file is missing.  Jesper did suggest that I might 
> have 
> > to change the name or path of the include files, but they are 
> > located exactly where suggested by the code.  
> > 
> > As you may have guessed by now, I'm not a C guru, by any stretch 
of 
> > the imagination.  Aside from the fact that I can actually spell 
C, 
> > and I know some syntax and can build a 'Hello World' program I'm 
a 
> C 
> > newbie.   
> > 
> > I was hoping I might convince someone to have a quick look at 
the 
> > code and give me an idea what might need to be changed to work 
with 
> > the latest version.  I will happily email the code to anyone who 
> > might be willing to have a peek, or you can see it at the URL, 
> > http://www.myplace.nu/avr/gtuner/index.htm.  
> > 
> > I really appreciate it.  Thank you so much.  
> > 
> > Mark Weston

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.