I don't have any issue with the SHT40, I can make it work no problem.
My problem is trying to make the pimoroni inky pack work on circuitpython:
https://shop.pimoroni.com/products/pico ... 4626051155
The pins use by this product are:
Pin 16: Button A
Pin 17: Button B
Pin 18: Ground (can be shared)
Pin 19: Button C
Pin 21: MISO (Microcontroller In, Sensor Out) (SPI interface)
Pin 22: Inky CS (e-ink display control)
Pin 24: SCLK (SPI clock) (SPI interface)
Pin 25: MOSI (Microcontroller Out, Sensor In) (SPI interface)
Pin 26: Inky D/C (e-ink display control)
Pin 27: Inky Res (e-ink display control)
Pin 30: Reset
Pin 31: Inky Busy (e-ink display control)
Pin 36: 3v3 (3.3v power supply)
So my code looks like this:
Code: Select all
spi = busio.SPI(board.GP19, MISO=board.GP16)
epd_cs = board.GP17
epd_dc = board.GP20
epd_reset = board.GP21
epd_busy = board.GP26
Reading my post, I guess I should have been more clear about that, sorry for the confusion.