Skip to content

Commit

Permalink
Update platform.h
Browse files Browse the repository at this point in the history
Reset pulse width was 1.3ms, now it's 1.0ms for ESP32
  • Loading branch information
GeorgeIoak authored Apr 8, 2023
1 parent a1a9325 commit 339c1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ constexpr uint8_t VALUE_IPL { (microsecondsToClockCycles(1) > 120) ? 26 : 22 };
#define DIRECT_MODE_OUTPUT(base, pin) pinMode(pin,OUTPUT)
#define DELAY_MICROSECONDS(us) delayMicroseconds(us)
using io_reg_t = uint32_t; // define special data type for register-access
constexpr uint8_t VALUE_IPL { 39 }; // instructions per loop, for 40 and 80 MHz (see esp8266 difference)
constexpr uint8_t VALUE_IPL { 51 }; // instructions per loop, for 40 and 80 MHz (see esp8266 difference), was 39

#elif defined(ARDUINO_ARCH_SAMD) /* arduino family samd */
// arduino-zero is defined(__SAMD21G18A__)
Expand Down

0 comments on commit 339c1ea

Please sign in to comment.