Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Dual Boot LED Control, RGB to HEX Converter
September 30, 2011
10:20 am
Palm Bay, FL USA
Forum Posts: 41
Member Since:
June 14, 2011
sp_UserOfflineSmall Offline

OK, so a while ago I fell in live with these Nokia 5110/3310 LCD displays. They use a library from that you can find here. They are small, fast, and don't gobble up a lot of current. So I needed a project to make so I could use one. The result? A massive overkill of an LED controler with all kinds of options and features.

So I was thinking about a RGB to HEX Color converter that I had made for the 2.8" TFTLCD, and the fact that I might want to figure out values without erasing my sketch I'm working on. Although it's nice to see the color displayed on the screen it will end up on, sometimes you just need a quick answer. Thanks to brookware2000 (in the Adafruit forums), there is a nice small program here that will do the trick. But it runs on Windows, and I'm kind of a Mac guy. The answer? Build one into my nifty little box that already has 8 buttons, an RGB LED, and a nice LCD screen! So here it is.

Download the code here. (Arduino 22 .pde file) This is a version of the code that just has the color converter, I'll do a video sometime of how to do the dual boot/setup thing.

**Notice the line "PCD8544 nokia = PCD8544(13, 12, 8, 7, 5);" This is not the default pin assignments for the Nokia LCD Tutorial. (default pins are 7, 6, 5, 4, 3) You will need to adjust the wiring for this sketch to work. Pay attention to what pins are used for buttons and LED's. 🙂

There are 10 types of people in this world, those who understand binary, and those who don't.

October 16, 2013
6:09 am
New Member
Forum Posts: 1
Member Since:
October 16, 2013
sp_UserOfflineSmall Offline

Hi Jeremy.

First of all, thank you for this blog, it's very helpful.

I'm very interested with this dual boot you've made with this system.

Could you please explain how you made it ?

Thank you very much.


October 15, 2017
7:27 pm
Forum Posts: 3
Member Since:
September 13, 2017
sp_UserOfflineSmall Offline

This is really interesting

read more

November 28, 2017
10:50 am
Forum Posts: 20
Member Since:
October 20, 2017
sp_UserOfflineSmall Offline

It's a very useful and informative post

Forum Timezone: America/New_York

Most Users Ever Online: 38

Currently Online:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

mikanox: 20

rakitik23: 11

eacgamecom: 8

balam: 7

ThaySelfl: 5

encarnacion: 5

Member Stats:

Guest Posters: 1

Members: 2548

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 141

Posts: 332

Newest Members:

Bernieinnof, Thomasded, RobertZef, Mizsxp, Mopxul, Mizoam

Administrators: Jeremy: 41