Dienstag, 22. Dezember 2009

the magic electric cube!!!

For the last weeks i've been working on a prototype that's a bit more complicated than the last ones...
It's a dice that has leds on each side which change the colour when you turn it around.
First i tried to develop my own 3-d ball switch (to detect wich side is up) but it didn't really work. So i decided to use some tilt-switches instead. The prototype is much smaller now...

But the main task is programming th microcontroller (it's an "arduino"). The only programming i've ever done was BASIC, like:
10   print "wer das liest ist doof"
20   go to 10
hmmm... i should have taken this more serious.
Detecting which side is up already works...

Keine Kommentare:

Kommentar veröffentlichen