Thread: Quick buzzer

  1. #16
    Registered User
    Join Date
    Dec 2018
    Posts
    9
    Quote Originally Posted by Salem View Post
    What's that got to do with buzzer in the thread title?

    Look at your circuit diagram and figure out how the port and pin logic applies to buttons, then try and use that for your display.
    Because I wanted to use the speaker for when the key was pressed. But I gave up


    “Look at your circuit diagram and figure out how the port and pin logic applies to buttons, then try and use that for your display.”

    i cant understand your meaning.

  2. #17
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    What pin is wired to what segment on the 7 segment display?
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  3. #18
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by stahta01 View Post
    What pin is wired to what segment on the 7 segment display?
    Or what pins on you microcontroller are wired to the 7 segment controller chip?

    What pins/ports are for input and what are for output?

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  4. #19
    Registered User
    Join Date
    Dec 2018
    Posts
    9
    Quote Originally Posted by stahta01 View Post
    What pin is wired to what segment on the 7 segment display?
    Port A for switches and port C for 7segment.

  5. #20
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by Afsaneh View Post
    Port A for switches and port C for 7segment.
    But, you seem to not know what is inputs and what is outputs; without that knowledge you can not do this assignment!

    Are you taking a class ask for help; if self teaching you need to read up on the basics.

    I suggest doing the code that does output first; because I am guessing you have no idea on how to debug any problem.
    In coding, output is easier to test than input.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 14
    Last Post: 01-26-2010, 11:18 AM
  2. Would like some quick help...
    By ibanez81 in forum C Programming
    Replies: 11
    Last Post: 12-15-2007, 04:41 AM
  3. buzzer?
    By MJS252 in forum C++ Programming
    Replies: 14
    Last Post: 07-05-2007, 02:12 PM
  4. Another Quick One
    By Necrofear in forum Windows Programming
    Replies: 7
    Last Post: 06-16-2006, 12:13 PM
  5. Quick help
    By webbizdesign in forum C Programming
    Replies: 1
    Last Post: 10-06-2003, 10:33 PM

Tags for this Thread