CrazyEngineers
  • Micro controller programming query

    sachleen

    Member

    Updated: Oct 26, 2024
    Views: 3.8K
    hey frns....hello
    i have a question abt micro controller 8051 programming..
    suppose a switch is connected to pin p1.6 of 8051 and a buzzer is connected to pin p1.7. when switch toggles from 1 to 0 then buzzer must be on for 1 sec.
    but i have a question that....if switch toggles from 1 to 0 or vice versa in nano seconds. then micro controller could not detect this transition as 8051 requires 1.085 us for every machine cycles.
    then how to solve this problem..can anyone help me plz?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Anand Tamariya

    MemberMar 22, 2013

    Select a switch which toggles in us.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register