Go Down

Topic: ccan arduino replace ttl ic's? (Read 649 times) previous topic - next topic

Hi. Im trying to make this digital clock http://electronics.howstuffworks.com/gadgets/clocks-watches/digital-clock.htm but radioshack didnt have the gates i needed (like nand,or,and,not,ect).i want to try to replace them with my arduino but Im new to electronic gates and arduino so i would have a really tough time figuring out how. Can anyone help?

CrossRoads

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Onions

I cannot see why not. Use things like

inPinState = digitalRead(inputPin);
outPinState = !inPinState;
digitalwrite(outPin, outPinState);

you can use other operations as well. There is information on all the operations here:

http://arduino.cc/en/Reference/HomePage
My website: http://www.harryrabbit.co.uk/electronics/home.html Up and running now! (Feel free to look round!) :D

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy