Monthly Archives: January 2013

 

1981 week 33  ▬  2004 week 22

1981 week 33 ▬ 2004 week 22

 

 

Zielig kwam hij binnen. Kreeg aanschafprijs daardoor bijna helemaal retour…

dead bug…

Ta-dááa’. With a little help from my nails…

HDSP2003_datasheet


Arduino sketch --- just testing brightness by frequency
//*** HDSP2003
//*** Brightness by strobing
//*** ardiyno@gmail.com
int column[] = {2, 3, 4, 5, 6};
int data = 7;
int clock =8;
int snelheid = 0;
void setup(){
 for (int i = 0; i < 5; i++){
 pinMode(column[i], OUTPUT);
 }
for (int i = 0; i < 5; i++){
 digitalWrite(column[i], LOW);
 }
pinMode(data, OUTPUT);
 pinMode(clock, OUTPUT);
digitalWrite(data, LOW);
 digitalWrite(clock, HIGH);
}
void loop(){
 snelheid++;
 for (int hh=0; hh<(1000/snelheid); hh++){
   for (int i = 0; i < 5; i++){
     for (int j = 0; j < 24; j++){
       digitalWrite(clock, HIGH);
       digitalWrite(data, j%2);//int(random(2)));
       digitalWrite(clock, LOW);
     }
     digitalWrite(column[i], HIGH);
     delayMicroseconds(snelheid*snelheid);
     digitalWrite(column[i], LOW);
   }
 }
}