Simple Code Help

This is a discussion on Simple Code Help within the C++ Programming forums, part of the General Programming Boards category; I would like to thank anyone who takes the time to read this and can help me in any way ...

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    1

    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.

    Thanks,

    Brad

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,822
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 02: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21