ATC_TLSR_Paper icon indicating copy to clipboard operation
ATC_TLSR_Paper copied to clipboard

gpio_read(..) function call returns 2!!!

Open nethomas1968 opened this issue 1 year ago • 1 comments

Hi, What does it mean when gpio_read(..) returns 2? Specifically, gpio_read(EPD_BUSY);

The source code comments implies that it can only return values 0 or 1.

nethomas1968 avatar Apr 12 '23 09:04 nethomas1968

So, it looks like the function gpio_read really returns zero for low, and non-zero for high.

nethomas1968 avatar Apr 12 '23 10:04 nethomas1968