# AnalogRead and Write breaks WLED

**URL:** <https://wled.discourse.group/t/analogread-and-write-breaks-wled/465>\
**Category:** Issues\
**Created:** [May 20, 2020, 3:35pm UTC](https://wled.discourse.group/t/analogread-and-write-breaks-wled/465 "2020-05-20T15:35:50Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Aircoookie](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/aircoookie/32/2_2.png) [@Aircoookie](https://wled.discourse.group/u/Aircoookie)\
**Post date:** [May 22, 2020, 9:05am UTC](https://wled.discourse.group/t/analogread-and-write-breaks-wled/465/10 "2020-05-22T09:05:18Z")

</div>

Hi, I believe that you are running into the same issue as in this thread:

> [@Analog Input?](https://wled.discourse.group/t/analog-input/380):
>
> Not sure if anyone else would be interested, so I’ll throw it out for comment… Support for an analog input to control the master brightness.

@tonyno also described that WiFi becomes unavailable when using `analogRead()`, I also suggested only reading about 10 times per second, but it did not seem to solve the issue ☹  
I will check the code of the audio reactive fork, they are using the analog input for microphone readings every millisecond without issues seemingly.

---

_[View the full topic](https://wled.discourse.group/t/analogread-and-write-breaks-wled/465)._
