[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.713253 [View]
File: 1.84 MB, 2816x2112, DSC08389.jpg [View same] [iqdb] [saucenao] [google]
713253

>>713247
(continuing from last post)

void write_n(int numb, int pos){ //writes numb on pos, 8 is 1000 so first position (units), 4 is 2nd
digitalWrite(latchPin, 0);
//count up on GREEN LEDs
shiftOut(dataPin, clockPin, numbers[numb][0]);
//count down on RED LEDs
shiftOut(dataPin, clockPin, numbers[numb][1]+pos);
//return the latch pin high to signal chip that it
//no longer needs to listen for information
digitalWrite(latchPin, 1);
delay(1);
}


What do you think about it, /diy/?

I'm gonna rip it apart now, since I want to make my first 555 circuit (and I don't have other solderless breadboards), which is also gonna be the first one without the Arduino and the first one which I'm gonna solder.

Navigation
View posts[+24][+48][+96]