Will continuous gpio write have any bad effects?

joe_fang_iD
Posts: 16
Joined: Thu Aug 01, 2019 11:59 pm

Will continuous gpio write have any bad effects?

Postby joe_fang_iD » Tue Nov 05, 2024 6:56 pm

I'm writing a code that is setting the gpio output continuously (not oscillating) to the same level.
for example, the following code is run once every 2-10ms.

digitalWrite(PIN_5, 0);

Will there be some sort of damage, maybe wear and tear to some fets/bjt in the hardware or something? Or a timing delay?

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: Will continuous gpio write have any bad effects?

Postby ESP_Sprite » Wed Nov 06, 2024 12:34 am

No.

joe_fang_iD
Posts: 16
Joined: Thu Aug 01, 2019 11:59 pm

Re: Will continuous gpio write have any bad effects?

Postby joe_fang_iD » Wed Nov 06, 2024 6:02 pm

Thank you ESP_Sprite!

Who is online

Users browsing this forum: Google [Bot] and 121 guests