Commit 48dcb6ec authored by Patrick's avatar Patrick

included SPISettings in the SPI transaction call

parent a3c27635
......@@ -16,6 +16,7 @@ void red_peg_slave::begin(uint8_t ss_pin)
SPDR = (uint8_t)_data_buff[(_data_tail_index*size_t_SensorData)+_data_record_index];
// find out the current SS state
pinMode(SS_SLAVE_PIN, INPUT);
pinMode(SD_SLAVE_PIN, INPUT);
handle_interrupt();
// now turn on interrupts
SPI.attachInterrupt();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment