anyone interested in code for a 20x4 display?

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
akula169
Posts: 16
Joined: Tue Feb 16, 2010 2:16 pm

anyone interested in code for a 20x4 display?

Post 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...
NelsonPJ
Posts: 13
Joined: Sun Jun 28, 2009 7:31 am

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

Post 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.
akula169
Posts: 16
Joined: Tue Feb 16, 2010 2:16 pm

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

Post 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.
Attachments
display2.zip
display2.sh compressed
(738 Bytes) Downloaded 698 times
20x4_avr_display.zip
20x4 LCD atmega168 code
(23.21 KiB) Downloaded 691 times
Neo2199
Posts: 7
Joined: Fri Mar 12, 2010 12:10 pm

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

Post by Neo2199 »

Are there any changes in schematic? Can You add more info? :)
jaycollett
Posts: 3
Joined: Mon Jun 21, 2010 4:45 am

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

Post 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!
Post Reply