Thread: Simple Code Help

  1. #1
    Registered User
    Join Date
    Mar 2011

    Simple Code Help

    I would like to thank anyone who takes the time to read this and can help me in any way possible.

    What I have in hardware is a de-bounced push-button that, when pushed, needs to cycle through 6 different case statements.

    I have a square wave coming into my atmega16 and pretty solid frequency counter code. The frequency needs to be monitored the whole time, and depending on which case I am in an LED will be lit, a 7-seg display will be lit, as well as a signal will be sent to my motor driver if the frequency is not correct for the selected case.



  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Nice - and your question is what exactly?

    If you were hoping for someone to write some code, then the answer will probably be no.
    C Board - Announcements in Forum : C++ Programming
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 14
    Last Post: 11-23-2005, 08:53 AM
  2. << !! Posting Code? Read this First !! >>
    By kermi3 in forum Windows Programming
    Replies: 0
    Last Post: 10-14-2002, 01:29 PM
  3. << !! Posting Code? Read this First !! >>
    By biosx in forum C++ Programming
    Replies: 1
    Last Post: 03-20-2002, 12:51 PM
  4. Simple Code, looking for input.
    By Alien_Freak in forum C Programming
    Replies: 3
    Last Post: 03-03-2002, 11:34 AM