Pages: [1]   Go Down
Author Topic: ccan arduino replace ttl ic's?  (Read 579 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27113
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Newcastle, England
Offline Offline
Sr. Member
****
Karma: 3
Posts: 489
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

My website: http://www.harryrabbit.co.uk/electronics/home.html Up and running now! (Feel free to look round!) smiley-grin

Pages: [1]   Go Up
Jump to: