Skip to content

Commit

Permalink
Update Adafruit_MAX31865.cpp
Browse files Browse the repository at this point in the history
fix soft spi mode
  • Loading branch information
ladyada authored Aug 29, 2020
1 parent 4521e67 commit 9505580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Adafruit_MAX31865.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
//
Adafruit_MAX31865::Adafruit_MAX31865(int8_t spi_cs, int8_t spi_mosi,
int8_t spi_miso, int8_t spi_clk) {
spi_dev = Adafruit_SPIDevice(spi_cs, spi_clk, spi_miso, spi_mosi, 1000000);
spi_dev = Adafruit_SPIDevice(spi_cs, spi_clk, spi_miso, spi_mosi, 1000000, SPI_BITORDER_MSBFIRST, SPI_MODE1);
}

/**************************************************************************/
Expand Down

0 comments on commit 9505580

Please sign in to comment.