Skip to main content

Posts

Showing posts from December, 2015

Java for Arduino

  Assume you are a passionated  Java programmer and you would like to use your knowledge while programming in Arduino as well ? Here you are:  There is a project called Haiku-VM which can help you. Sadly it has not been maintained since 2017

Electronic Dice with Arduino

With my Arduino and a button from a slot machine, I realized an electronic dice for my severely multi-disabled daughter. Now she can always play along with the "Mensch-ärgere-Dich-nicht". Here is the program for controlling the 8x8 Colorduino LED Shield. #include colorduino.h #include bounce.h /*************************************************************/ // Patterns for matrix byte matrix[][8] = { { 0,0,0,0,0,0,0,0 } , //leer { 0,0,0,24,24,0,0,0 } , //1 { 192,192,0,0,0,0,3,3 } ,//2 { 192,192,0,24,24,0,3,3 } ,//3 { 195,195,0,0,0,0,195,195 } ,//4 { 195,195,0,24,24,0,195,195 } ,//5 { 219,219,0,0,0,0,219,219 } //6 }; // farben definition typedef struct { int red; int green; int blue; } RGB; /*************************************************************/ //global /**********************************