change some parameters in softspim
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user