Commit Graph

85 Commits

Author SHA1 Message Date
siddacious e4243a9fe9 fixing support for SPI modes 2 & 3 2020-04-22 11:36:01 -07:00
siddacious be95f9da0b clang 2020-04-20 17:08:09 -07:00
siddacious c852d5744c adding check for _mosi== -1 2020-04-20 17:01:43 -07:00
siddacious 4cf47a3fef
Update library.properties 2020-03-16 12:08:40 -07:00
Limor "Ladyada" Fried 2381c86fc2
Merge pull request #16 from AnHardt/ByteOrder
Rename **bit**order -> **byte**order
2020-03-12 07:20:13 -04:00
Limor "Ladyada" Fried 626b1a8e6d
Merge pull request #17 from AnHardt/SPI_register_bits_Example
Add Adafruit_BusIO_Register example
2020-03-12 07:18:50 -04:00
AnHardt 26f8260832 SPI_register_bits example
Showing how to work with the register bits on a  MAX31865.
2020-03-12 01:03:43 +01:00
AnHardt 1a2af57ab4 **bit**order -> **byte**order
In `Adafruit_BusIO_Register` we deal with bytes and their sequence.
In the SPI-device we really have a **bit**order
2020-03-10 20:28:57 +01:00
AnHardt 244650a027 Add ADDRBIT8_HIGH_TOWRITE to Adafruit_BusIO_SPIRegType
Add ADDRBIT8_HIGH_TOWRITE to  Adafruit_BusIO_SPIRegType to enable writing for example MAX31865 and MAX31856
2020-03-10 20:05:28 +01:00
Lady Ada 6660a0a2c8 fix badge 2020-02-23 19:53:34 -05:00
Lady Ada 1f034b34e9 clang 2020-02-23 19:47:22 -05:00
Lady Ada 8fc60493f9 bump 2020-02-23 19:37:53 -05:00
Lady Ada bd6281d5be fix bitbang mode 0 clock polarity to match standard 2020-02-23 19:37:42 -05:00
Lady Ada 2e744551e9 bump 2020-02-22 19:26:17 -05:00
Lady Ada 6aac18ac66 dox 2020-02-22 18:20:26 -05:00
Lady Ada 9711a24996 remove debug 2020-02-22 18:08:36 -05:00
Lady Ada 26305c9e25 let us check i2c connection on register bit reads 2020-02-22 18:08:14 -05:00
siddacious 31298baae0
Update library.properties 2020-02-04 13:24:58 -08:00
Limor "Ladyada" Fried e714724a09
Merge pull request #14 from ulysse314/maxBufferSize
maxBufferSize should be size_t type since all the length are size_t type
2020-02-04 11:35:38 -05:00
Jérôme Lebel 48d59b9eb4 maxBufferSize should be size_t type since all the length are size_t type 2020-02-04 17:22:06 +01:00
siddacious 5890cd6c1f
Update library.properties 2020-01-30 18:54:25 -08:00
siddacious 749464ab9b
Merge pull request #12 from siddacious/debug_format_tweak
Updating I2C debug prints to match CP
2020-01-30 17:07:30 -08:00
siddacious 70f1103869 Updating I2C debug prints to match CP 2020-01-30 16:35:31 -08:00
siddacious 614fef0c2b
Update library.properties 2020-01-16 10:01:03 -08:00
Limor "Ladyada" Fried 669863df11
Merge pull request #11 from danielstuart14/master
SPI: Add Infineon XMC boards to BitOrder quirk
2020-01-08 22:40:14 -05:00
Daniel Stuart 38ea25d88a SPI: Add Infineon XMC boards to BitOrder quirk
As many (all?) ARM Cortex based chips, Infineon xmc boards also need
this quirk for BusIO to compile.

Original commit: 4921ca2cea ("Update Adafruit_SPIDevice.h")
XMC for arduino: https://github.com/Infineon/XMC-for-Arduino
2020-01-08 23:19:44 -03:00
siddacious 8027913302
Update library.properties 2020-01-08 10:41:00 -08:00
Ha Thach 661c5fba70
add repository_dispatch event 2020-01-07 13:59:44 +07:00
Limor "Ladyada" Fried fd082ceb2b
Merge pull request #10 from adafruit/actionci
remove travis, add actions, clang, bump version
2019-12-27 19:58:00 -05:00
Lady Ada ddee2a2339 remove travis, add actions, clang, bump version 2019-12-27 19:49:16 -05:00
Lady Ada 430a12c041 add another SPI register read/write mode 2019-12-21 19:25:00 -05:00
Lady Ada 57b2f917cf add SPI mode where 7th bit is used to auto-inc 2019-12-21 19:24:21 -05:00
siddacious a4a1f18b44
bumping 2019-11-13 11:36:09 -08:00
Limor "Ladyada" Fried 0a0a6c5d24
Merge pull request #8 from ElPercha/SPI-for-STM32
Update Adafruit_SPIDevice.h
2019-11-05 22:05:39 -05:00
ElPercha 4921ca2cea Update Adafruit_SPIDevice.h 2019-11-05 20:21:28 -06:00
ladyada 959a207580 fix for https://github.com/adafruit/Adafruit_BusIO/issues/6 2019-10-31 23:59:49 -04:00
siddacious ced62d25e6
Update library.properties 2019-10-24 17:27:30 -07:00
ladyada 4a419dc86f handler platforms with much larger i2c buffers 2019-10-20 01:53:07 -04:00
ladyada 5a5f8d0999 bump 2019-10-13 15:58:12 -04:00
ladyada eb61fd3404 add stm32duino support 2019-10-13 15:57:24 -04:00
Limor "Ladyada" Fried 7f3c3d28ea
Update library.properties 2019-10-12 19:08:55 -04:00
Limor "Ladyada" Fried 5fb64d14e6
Merge pull request #5 from siddacious/master
fixed? mask calculation for RegisterBits
2019-10-12 19:08:42 -04:00
siddacious 93a03b19f4 fixed? mask calculation for RegisterBits 2019-10-11 19:09:25 -07:00
ladyada a403ba0dab allow not-scanning (MCP9600 hates it) 2019-10-07 23:13:49 -04:00
siddacious 5a94ba22da
Update library.properties 2019-09-13 15:41:19 -07:00
Ladyada 85577e9f2e fix wrong exmaple 2019-08-29 15:00:58 -04:00
ladyada ef1a09d38f bump 2019-08-08 18:07:41 -04:00
Ladyada 4bfbfd612d update for all nRF boards 2019-08-04 21:17:14 -04:00
Limor "Ladyada" Fried e51641bcc3
Merge pull request #2 from scott-snyder/nrf52-20190716
Fix for compiling on NRF52.
2019-07-16 23:40:00 -04:00
scott snyder fe7ae08615 Fix for compiling on NRF52.
SPI_BITORDER_MSBFIRST / SPI_BITORDER_LSBFIRST not defined when compiling
on nrf52.
2019-07-16 23:31:40 -04:00