mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-09 03:41:41 +03:00
Thanks to ideas from @shimarin for offering ideas to speed up the stopWaveform calls which may help things like SoftwareSerial run better. Optimize the stopWaveform routine to abort fast and early whenever possible. Remove the stopWaveform call from digitalRead(). If you're running a waveform on a pin and try to read it, that is a logic error and you'll end up reading the waveform and not the outside world's view of the pin.