EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / state machine code

state machine code

|

Microcontroller › 8051 › state machine code

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 6 months ago by praneeth.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 18, 2015 at 10:05 am #4165
    praneeth
    Participant

    i want state machine code in place of debounce delay when we switch button

    pls any body help me..its urgent

    December 18, 2015 at 12:55 pm #13588
    Vara Ashishkumar
    Participant

    Hey praneeth,

    Describe your stuff in brief. You want to debouncing of switch button using state code. You can do easily by use of combination of interrupt service routine and switch case.

    Note: Please define your state read variable as volatile.

    December 18, 2015 at 1:04 pm #13589
    praneeth
    Participant

    i want to set the time in digital clock program.firstly if i press one switch it flag will be incremented and when flag==1 hours should be set by dec and incr with the help of switches…like wise othe for min also…can u provide code for that 

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Simple LED Analog Clock Idea July 7, 2025
  • The Analog Gods Hate Me July 7, 2025
  • Wideband matching an electrically short bowtie antenna; 50 ohm, 434 MHz July 7, 2025
  • PIC KIT 3 not able to program dsPIC July 7, 2025
  • Parts required for a personal project July 6, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise