New hobbyist debounce question | Cypress Semiconductor
New hobbyist debounce question
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?