Forums

Avatar

Please consider registering
guest

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
Avatar
Jeremy
Palm Bay, FL USA
Admin
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 adafruit.com 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
Avatar
bestel
New Member
Members
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.

Laurent

Forum Timezone: America/New_York

Most Users Ever Online: 24

Currently Online:
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

balam: 7

Atymkow: 4

xavier: 4

zvevqx: 4

c23po: 4

Sundar: 3

Member Stats:

Guest Posters: 1

Members: 1134

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 90

Posts: 206

Newest Members:

Barbarasicle, Bobbiestini, BruceNaM, Alextup, DennisAspek, Apbreody

Administrators: Jeremy: 41