change for use
Revision 1:b138ec359bfe, committed 2021-12-16
- Comitter:
- katoshunsuke
- Date:
- Thu Dec 16 15:53:27 2021 +0000
- Parent:
- 0:e882606c8174
- Commit message:
- change for use;
Changed in this revision
SPIRawHandler.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SPIRawHandler.cpp Tue Dec 07 07:54:45 2021 +0000 +++ b/SPIRawHandler.cpp Thu Dec 16 15:53:27 2021 +0000 @@ -5,12 +5,12 @@ #define SS_PIN PA_4 DigitalOut ss(SS_PIN); -SPI spi(PA_5,PA_6,PA_7); +SPI spi(PA_7,PA_6,PA_5); void SpiRawInitialize(){ ss = 1; spi.format(8,0); - spi.frequency(1000000); + spi.frequency(125000); } void SpiRawWrite(uint8_t data){