8 Replies Latest reply on Apr 23, 2017 6:36 PM by simcole_1771416

    New hobbyist debounce question

    simcole_1771416

      Hi,

         

      I recently discovered PSOC after playing with arduino for the past 6 months or so.  I'm JUST a hobbiest and have NO formal training in anything like this.  I have some basic questions if someone can help me.  I want to debounce 5 buttons and have each button do it's own thing.  They are N.O. buttons connected to ground.  I made 2 pictures to see which is the correct way to do it.  I couldn't figure out if I could use 1 debounce routine for all 5 buttons or had to have 5 separate ones.  I was also unsure of what Hz or MHz etc to set the clock and reading a datasheet is still mostly Greek to me. :(  Which way should i do it based on these pictures?