Hello forum experts,
I am having a problem where I'm trying to run a code that uses PWM and sensors to detect gas. It works perfectly, but mcu detects gas which means that make a beep signal(buzzer) and blinking led without anolog signal (whithout gas ). It repeats 2 or 3 times and after that mcu is silence.
The problem appears when mcu works long time, sometimes 2 weeks or 1 month. It doesn't depend on circuit board.
Does anyone know why this could be happening?