Hi Dhanaraj
one can try software glitch filtering described on many foums and articles, like
"How do I debounce inputs?" pigpio library
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------