change some parameters in softspim

This commit is contained in:
2022-03-10 22:25:18 +01:00
parent 64dae0435b
commit b01caeda28

View File

@ -6,8 +6,8 @@ class SpiMaster
{
private:
static constexpr uint8_t CLOCK_POLARITY = 1;
static constexpr uint8_t CLOCK_PHASE = 1;
static constexpr uint8_t CLOCK_POLARITY = 0;
static constexpr uint8_t CLOCK_PHASE = 0;
static constexpr uint8_t BIT_ORDER = 1;
volatile uint8_t * const _port = &PORTB;
@ -16,7 +16,7 @@ private:
static constexpr uint8_t _pinOut = PB4;
static constexpr uint8_t _pinClock = PB3;
static constexpr uint8_t DELAY_TIME_US = 10;
static constexpr uint8_t DELAY_TIME_US = 0;
public: