Forum Index > Projects > Clock Kits
 Bulbdial "hello world" sample code?
 |  Printable Version
By: Anonymous: pfriedel () on Saturday, December 26 2009 @ 05:59 PM PST (Read 3432 times)  
Anonymous: pfriedel

This is my first Arduino kit, and I already see improvements to the code that I'm sort of throwing around in my head, but I can't hold all of the beady1.pde in my head to figure out how it all ties together - could someone write up a simple hello world (1 second LED, 1 minute LED and 1 hour LED, say. Maybe just the alignment mode section?) script with instructions for how to go between development and the beady1.pde? If it's just a matter of "Compile this in Processing while the device is hooked up", then I already figured that out with the time sync code.

I already sort of want to leave the arch off so I can reconnect the USB cable more conveniently. Laughing Out Loud





       
   
By: Windell (offline) on Saturday, December 26 2009 @ 06:22 PM PST  
Windell

The code is *mostly* user interface-- handling all the cases for the different "menus" and so forth, so I can see where you're coming from. I'll see if I can put together some simple sample code and post it sometime soon.


Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/

Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 06/15/06
Posts: 1932
Sunnyvale, CA

Profile Email Website  
   
By: Windell (offline) on Saturday, December 26 2009 @ 08:23 PM PST  
Windell

Okay-- we've just posted a simplified demo code that shows how to address the LEDs, millisecond timer, and buttons.


Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/

Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 06/15/06
Posts: 1932
Sunnyvale, CA

Profile Email Website  
   
By: Anonymous: pfriedel () on Saturday, December 26 2009 @ 11:01 PM PST  
Anonymous: pfriedel

Awesome, thanks! I can follow what's going on in that, compared to the fuller version - some of the charlieplexing definitions didn't stand out as what they were there for. The only hitch is that Processing is throwing an annoyingly hard to debug error:

A web color (such as #ffcc00) must be six digits.
Bad error line: -2

Buh? Nothing jumps out at me, but I don't know how particular the language is yet.





       
   
By: Windell (offline) on Saturday, December 26 2009 @ 11:24 PM PST  
Windell

>Processing is throwing an annoyingly hard to debug error:

Could be because this isn't a Processing program-- you need to use the Arduino development environment.


Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/

Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 06/15/06
Posts: 1932
Sunnyvale, CA

Profile Email Website  
   
By: Anonymous: pfriedel () on Saturday, December 26 2009 @ 11:51 PM PST  
Anonymous: pfriedel

D'oh, sure enough. A download or two later, some environmental tweaking, and I can flip it back and forth between clock mode and geblinkenlight mode. Thanks!





       
   



 All times are PDT. The time is now 05:50 AM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to Post 
Filtered HTML Allowed 
Censored Content 

Evil Mad Scientist Forum Archives — Read only!

Please visit our new forums for new discussions.


DIY Hardware for Electronic Art


The Original Egg-Bot Kit


Octolively
Interactive LED kits


Meggy Jr RGB
LED matrix game
development kit.


Business-card sized
AVR target boards


Peggy 2
LED Pegboard kits

My Account






Lost your password?