~Just I am working with nrf52 chip, playing with buttons and leds,
~I am able to press 1 button at a time and obtain a output(say blinking LED) which I want,
~Also, I worked with long press of one button ( SAY ONE BUTTON PRESSED FOR MORE THAN 2 SECONDS) and made an distinguish between the outputs obtained depending on whether it is short push or long push on button.
**~ Now, I facing difficulties while I want to obtain an output ONLY WHEN TWO BUTTONS ARE PRESSED.
In detail, i WANT TO BLINK LED only when 2 BUTTONS ARE PRESSED FOR 2 SECONDS,
So this is the task.
I previously used BSP button handler,
I have ideas of how to implement my task, but I am not good at coding, so need your help.
I think if you can use CLOCK, TIMER, and create an Event for storing the status of buttons in a flag, the task is completed.
Also, bit masking helps in detection of 2 buttons.
I can provide you user state diagram and also my sample lopps, Just need the help for implementing.
15 freelance font une offre moyenne de $19/heure pour ce travail
Good day, I have read the details of your work and I am confident that I can help you with this. Please contact me so that we can go over the details of your job, thank you.
I have an more than 5 years experience in embedded systems and also o worked on nfr52 beacon with segger studio or keil . so I can do your job within the time limit with your satisfaction.
Hello there, I am an Arduino programmer with more than 2 years of experience. I have proficiency in C programming. I can build the logic for you in this project.