Soldered Support:
If your Inkplate works OK and the screen updates, then you have selected the correct device version through the board definition.
On the first expander, for example:
In code, P1_7 (visible on the schematic along with the others) is marked as IO_PIN_B7 on IO_INT_ADDR.
P1_3 is IO_PIN_B3 on IO_INT_ADDR.
On the second expander, for example:
P0_2 is IO_PIN_A2 on IO_EXT_ADDR.
P1_5 is IO_PIN_B5 on IO_EXT_ADDR.
The key lines of code are that in setup() you need to have, for example:
display.pinModeIO(IO_PIN_A2 , OUTPUT, IO_EXT_ADDR);
and then in the loop you can:
display.digitalWriteIO(IO_PIN_A2 , HIGH, IO_EXT_ADDR);
For now, try just writing to an LED (put a resistor on the LED so it doesn’t burn out
) with that simplest example (https://github.com/SolderedElectronics/Inkplate-Arduino-library/blob/master/examples/Inkplate6/Advanced/IO/Inkplate6_Internal_IO_Expander/Inkplate6_Internal_IO_Expander.ino )
Then try with reading. I think the IO expanders should work well because updating the ePaper depends on them.
P1_3 through P1_7 are free on the first expander, and all are free on the second expander.
ESP32 pins can be used for I/O. IO 12-15 are for SPI but as far as I can see they should be free on Inkplate 6 if you don’t want to use the SPI protocol. IO34 is an interrupt for expander 1, IO35 is used for reading battery voltage (this only reads voltage; if the battery is not connected it will always read around ~4V so it cannot really be used for detection). IO36 is the pushbutton (wake button), IO39 is used for reading from the RTC. So you can use some of them depending on which functionalities you are willing to replace.
Original message (Croatian)
Ako ti Inkplate radi OK i ekran se update-a, onda si izabrao dobru verziju uređaja kroz board definition. Šaljem ti screenshot sa sheme Inkplate 6:
Kao što vidiš, P1_3 do P1_7 su slobodni na prvom expanderu, i svi su slobodni na drugom ekspanderu.
Na prvom ekspanderu, npr:
U kodu je P1_7 (vidljivo na slici kao i ostali) označen sa IO_PIN_B7 na IO_INT_ADDR.
P1_3 je IO_PIN_B3 na IO_INT_ADDR.
Na drugom, npr:
P0_2 je IO_PIN_A2 na IO_EXT_ADDR.
P1_5 je IO_PIN_B5 na IO_EXT_ADDR.
Linije koda koje su ključne je da u setup() trebaš imati npr:
display.pinModeIO(IO_PIN_A2 , OUTPUT, IO_EXT_ADDR);
i onda u loopu možeš:
display.digitalWriteIO(IO_PIN_A2 , HIGH, IO_EXT_ADDR);
Probaj zasad samo pisati na LEDicu (stavi otpornik na LEDicu da ne pregori
) zasad sa tim najjednostavnijim primjerom (https://github.com/SolderedElectronics/Inkplate-Arduino-library/blob/master/examples/Inkplate6/Advanced/IO/Inkplate6_Internal_IO_Expander/Inkplate6_Internal_IO_Expander.ino )
Pa onda probaj sa čitanjem. Mislim da bi IO ekspanderi trebali raditi dobro jer update-anje ePapera ovisi o njima.
Pinovi od ESP32 se mogu koristiti za I/O, IO 12-15 su za SPI ali koliko vidim trebali bi biti slobodni na Inkplate6 ako ne želiš koristiti SPI protokol. IO34 je interrupt za expander 1, IO35 se koristi za čitanje napona s baterije (ovo samo čita količinu napona, ako baterija nije spojena uvijek će čitati oko ~4V tako da se ne može baš koristiti za detekciju). IO36 je pushbutton (wake button), IO39 se koristi za čitanje s RTC-a. Tako da, možeš koristiti neke od njih ovisno o tom koje funkcionalnosti si spreman zamijeniti.
Nadam se da je ovo bilo informativno 
Attachment omitted in migration: image.png