Verify that SPI works with SH1106

This commit is contained in:
philippe44
2020-02-10 20:44:44 -08:00
parent 55e0efdb4a
commit 26c9a9e897
9 changed files with 151 additions and 102 deletions

View File

@@ -70,6 +70,7 @@ bool SSD13x6_I2CMasterAttachDisplayDefault( struct SSD13x6_Device* DeviceHandle,
ESP_ERROR_CHECK_NONFATAL( gpio_set_level( RSTPin, 1 ), return false );
}
memset( DeviceHandle, 0, sizeof( struct SSD13x6_Device ) );
DeviceHandle->Model = Model;
return SSD13x6_Init_I2C( DeviceHandle,