@@ -302,7 +302,7 @@ void Inkplate::pinsZstate()
302
302
pinMode (26 , INPUT);
303
303
pinMode (27 , INPUT);
304
304
305
- #if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2)
305
+ #if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2)
306
306
// Disable clock for the EPD.
307
307
myI2S->conf1 .tx_stop_en = 0 ;
308
308
#endif
@@ -320,7 +320,7 @@ void Inkplate::pinsAsOutputs()
320
320
pinModeInternal (IO_INT_ADDR, ioRegsInt, GMOD, OUTPUT);
321
321
pinModeInternal (IO_INT_ADDR, ioRegsInt, SPV, OUTPUT);
322
322
323
- #if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2)
323
+ #if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2)
324
324
// Set up the EPD Data and CL pins for I2S.
325
325
setI2S1pin (0 , I2S1O_BCK_OUT_IDX, 0 );
326
326
setI2S1pin (4 , I2S1O_DATA_OUT0_IDX, 0 );
@@ -333,7 +333,7 @@ void Inkplate::pinsAsOutputs()
333
333
setI2S1pin (27 , I2S1O_DATA_OUT7_IDX, 0 );
334
334
335
335
// Start sending clock to the EPD.
336
- myI2S->conf1 .tx_stop_en = 0 ;
336
+ myI2S->conf1 .tx_stop_en = 1 ;
337
337
#else
338
338
pinMode (0 , OUTPUT);
339
339
pinMode (4 , OUTPUT);
0 commit comments