Im interfacing 74hc595 to my avr, im insufficient pins at moment :(
AVR used: (tiny 2313)
program used: codevisionavr
Im having problems at coding the code. no led working :D
Can anyone say if that schema is right??
i have now:
pin 19 sck/ucsk <---> pin11 sh_cp
pin 18 miso (??)
pin 17 mosi <---> pin14 data input
pin 16 pb4 <---> pin12 st_cp
vcc (+5v) -> pin10 reset
Can i please have some sample C code for taking 595 to work?
i have searched everyplace at internet, no luck. there is not much avr examples there.
also i tried to code some but no luck. i just dont know the commands about to take that working. no resources anyplace at internet about that info :(
i finded pic examples, but those will not work. heh.
Thanks already for all!