mirror of https://github.com/periph/devices
waveshare213v2: Make busy a PinIn, use WaitForEdge
The busy pin from the e-paper display is only used to read, not to write, and thus there's no need for the PinIO interface. PinIn is enough. In addition the WaitForEdge function can be used to shorten the delays when waiting for the display to become idle. Spurious or missed edges are acceptable: the delay isn't very long.pull/40/head
parent
5179e40adf
commit
45561a7a3c
Loading…
Reference in New Issue