Page 1 of 1

anyone interested in code for a 20x4 display?

Posted: Mon Feb 22, 2010 8:36 pm
by akula169
I pretty much rewrote most of main.c and made a new interface.sh file. Here's how the display is formatted:

Code: Select all

Artist Name
Track Name
                      [mpc state]
Station Name
There are no page refreshes, as all info is on one screen. "mpc state" displays the current playing state, "play" "pause" or "stop"

I cut long strings down to 40 characters and only scroll the long lines when necessary.

If people are interested, I'll post the code and maybe even make a movie so you can preview before you flash...

Re: anyone interested in code for a 20x4 display?

Posted: Tue Feb 23, 2010 6:29 am
by NelsonPJ
I'm interested. I've got a spare 20x4 display in my parts box, and I've already confirms that it works with the ATMEGA168 circuit that Jeff made.

Re: anyone interested in code for a 20x4 display?

Posted: Tue Feb 23, 2010 2:21 pm
by akula169
I attached the archive with my changes.

I kinda hacked up the tuner dial stuff, as I don't want to use it (later, I'll using a button instead) - but if you diff against Jeff's original, you'll get the idea.

display2.sh is also attached. I was going to paste it into the post, but I think the attached file is better for preserving the carriage return (^M) character.

Re: anyone interested in code for a 20x4 display?

Posted: Sat Apr 17, 2010 2:41 am
by Neo2199
Are there any changes in schematic? Can You add more info? :)

Re: anyone interested in code for a 20x4 display?

Posted: Mon Jun 21, 2010 4:51 am
by jaycollett
Thanks for the code, I was going to be using a 20X4 LCD...nearly ready to start wiring it up to test this will help greatly!