electro-smith / DaisyDuino

Arduino Support for the Daisy Audio Platform.
https://www.electro-smith.com/daisy
MIT License
92 stars 20 forks source link

Patch SM -- PIN_PATCH_SM_D8 and PIN_PATCH_SM_D9 are reversed #54

Closed JDClegg closed 1 year ago

JDClegg commented 1 year ago

While trying to integrate an SPI display, discovered that the definitions for D8 and D9 are reversed.

I initialized the Oled with the following:

// the magic incantation U8G2_SSD1309_128X64_NONAME2_F_4W_SW_SPI oled(U8G2_R0, / clock=/ PIN_PATCH_SM_D10, / data=/ PIN_PATCH_SM_D8, / cs=/ PIN_PATCH_SM_D1, / dc=/ PIN_PATCH_SM_D9, / reset=/ PIN_PATCH_SM_D3); I wired it up as follows:

Display Pin Daisy SM Pin VCC… A10 GND… A7 SCK … D10 SDA … D9 RES … D3 DC … D8 CS … D1

stephenhensley commented 1 year ago

Resolved in v1.6.2

Thanks for creating the issue!