omg spi was slow and now it is fast
parent
ac162e3aa9
commit
43fb2ee966
|
@ -249,7 +249,7 @@ void ICACHE_FLASH_ATTR user_init()
|
|||
// configure SPI
|
||||
SpiAttr hSpiAttr;
|
||||
hSpiAttr.bitOrder = SpiBitOrder_MSBFirst;
|
||||
hSpiAttr.speed = SpiSpeed_0_5MHz;
|
||||
hSpiAttr.speed = SpiSpeed_10MHz;
|
||||
hSpiAttr.mode = SpiMode_Master;
|
||||
hSpiAttr.subMode = SpiSubMode_0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue