Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to interface 74hc595 ?

Status
Not open for further replies.
74hc595 + arduino

use this code

void sen_data(unsigned char c)
{
unsigned char i,k;
LATCH =0;
SCK = 0;
for(i=0;i<8;i++)
{
DI = ( C & 0x80)?1:0;
SCK = 1;
c = c << 1;
SCK = 0;
}
LATCH = 1;
 

    jit_singh_tara

    Points: 2
    Helpful Answer Positive Rating
    V

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top