Fixed small spelling mistakes.
This commit is contained in:
parent
da6809b582
commit
570d172764
|
|
@ -79,7 +79,7 @@ private:
|
||||||
Adafruit_BusIO_SPIRegType _spiregtype;
|
Adafruit_BusIO_SPIRegType _spiregtype;
|
||||||
uint16_t _address;
|
uint16_t _address;
|
||||||
uint8_t _width, _addrwidth, _byteorder;
|
uint8_t _width, _addrwidth, _byteorder;
|
||||||
uint8_t _buffer[4]; // we wont support anything larger than uint32 for
|
uint8_t _buffer[4]; // we won't support anything larger than uint32 for
|
||||||
// non-buffered read
|
// non-buffered read
|
||||||
uint32_t _cached = 0;
|
uint32_t _cached = 0;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
//#define DEBUG_SERIAL Serial
|
//#define DEBUG_SERIAL Serial
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @brief Create an SPI device with the given CS pin and settins
|
* @brief Create an SPI device with the given CS pin and settings
|
||||||
* @param cspin The arduino pin number to use for chip select
|
* @param cspin The arduino pin number to use for chip select
|
||||||
* @param freq The SPI clock frequency to use, defaults to 1MHz
|
* @param freq The SPI clock frequency to use, defaults to 1MHz
|
||||||
* @param dataOrder The SPI data order to use for bits within each byte,
|
* @param dataOrder The SPI data order to use for bits within each byte,
|
||||||
|
|
@ -29,7 +29,7 @@ Adafruit_SPIDevice::Adafruit_SPIDevice(int8_t cspin, uint32_t freq,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @brief Create an SPI device with the given CS pin and settins
|
* @brief Create an SPI device with the given CS pin and settings
|
||||||
* @param cspin The arduino pin number to use for chip select
|
* @param cspin The arduino pin number to use for chip select
|
||||||
* @param sckpin The arduino pin number to use for SCK
|
* @param sckpin The arduino pin number to use for SCK
|
||||||
* @param misopin The arduino pin number to use for MISO, set to -1 if not
|
* @param misopin The arduino pin number to use for MISO, set to -1 if not
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Adafruit Bus IO Library [](https://github.com/adafruit/Adafruit_BusIO/actions)
|
# Adafruit Bus IO Library [](https://github.com/adafruit/Adafruit_BusIO/actions)
|
||||||
|
|
||||||
|
|
||||||
This is a helper libary to abstract away I2C & SPI transactions and registers
|
This is a helper library to abstract away I2C & SPI transactions and registers
|
||||||
|
|
||||||
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
|
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ void setup() {
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
#if (defined( MAX31865_READY_PIN ) && (MAX31865_1_READY_PIN != -1))
|
#if (defined( MAX31865_READY_PIN ) && (MAX31865_1_READY_PIN != -1))
|
||||||
// Is converstion ready?
|
// Is conversion ready?
|
||||||
if (!digitalRead(MAX31865_READY_PIN))
|
if (!digitalRead(MAX31865_READY_PIN))
|
||||||
#else
|
#else
|
||||||
// Warant conversion is ready.
|
// Warant conversion is ready.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue