Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 10 months ago.
Using the 74HC595 with C code?
Hi, I am somewhat new to the using the Arduino Uno. Right now, I am having some trouble with understanding how the 74HC595 IC works. There are plenty of guides online for the code for the Arduino IDE, but I'm trying to challenge myself to write and modify the code in C. Here is the datesheet of 74HC595 :http://www.componentschip.com/details/Texas-Instruments/74HC595D.html
The only guide that I've found to use C code, but I don't really understand whats going on when it gets to the for loop and if statement in the output_led_state function. My main goal is to just understand the code so I can manipulate individual LED's. Any help is appreciated!