You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spi_mode in the info struct should correspond to the Arduino SPI modes SPI_MODE0, SPI_MODE1, etc.
However the numbers 0..3 do not correspond to SPI_MODE0..SPI_MODE3 because internally these macros do have several random values.
As a result, we can not simply pass 0..3 to SPISettings, instead a mapping has to happen first.
More tests are required. At least ST7920 must be tested.
spi_mode in the info struct should correspond to the Arduino SPI modes SPI_MODE0, SPI_MODE1, etc.
However the numbers 0..3 do not correspond to SPI_MODE0..SPI_MODE3 because internally these macros do have several random values.
As a result, we can not simply pass 0..3 to SPISettings, instead a mapping has to happen first.
More tests are required. At least ST7920 must be tested.
Image Source: http://www.corelis.com/education/SPI_Tutorial.htm
The text was updated successfully, but these errors were encountered: