hello everyone
I have interrupt service routine for ADC and I wrote calculations (for pwm duty cycle) inside it (things look unstable), is it wrong to do the calculations inside the ISR, I am writing my code on atmel studio 7 and I am using the chip atmega 328p.
Help please