-->
Page 1 of 1

pwm control by interrupt service routine and I2C Dislay

PostPosted: Wed Aug 25, 2021 11:16 am
by smm_GF
we use the ESP8266 for PWM control using a interrupt service routine triggered by the zero detect signal. it works very well. now we have integrated a I2C display but sporatic error at the PWM control occurs.Is there ideas what may be a reason for that ?
may it be that the additionally I2C control has a influence to the interrupt service request.
in other words how can it performed, that the I2C control will be performed after the PWM control is finished.
That means the PWM control has the highest priority!