Commit Graph

165 Commits

Author SHA1 Message Date
Limor "Ladyada" Fried 8b13b58c2e
Merge pull request #46 from adafruit/add-more-api
add setWidth(), setAddress(), setAddressWidth()
2021-06-09 10:58:05 -04:00
hathach 11d3cbcad1 typo 2021-06-09 16:55:09 +07:00
hathach 2727864a5f doxygen 2021-06-09 16:19:14 +07:00
hathach 6f7ce9f3ee add setWidth(), setAddress(), setAddressWidth() 2021-06-09 15:59:48 +07:00
Dylan Herrada 13bd6906a6
Bump to 1.7.3 2021-04-08 16:21:13 -04:00
lady ada 4795819af6 bl0ng 2021-03-27 17:07:44 -04:00
lady ada 6352cd1847 quick fix for RP2040 2021-03-27 16:46:44 -04:00
Dylan Herrada a6c65689ae
Bump to 1.7.2 2021-01-21 21:52:09 -05:00
Limor "Ladyada" Fried 43022d91a4
Merge pull request #41 from stuthedew/Fixed-issue-19
Define the meaning of 'type' for BusIO Registers
2021-01-20 17:57:12 -05:00
Stuart Feichtinger 2f80a5e646 Define the meaning of 'type' for BusIO Registers
Addressed issue #19 by updating register consts with suggested descriptions.

Co-Authored-By: jayjlawrence <1862335+jayjlawrence@users.noreply.github.com>
2021-01-20 16:47:39 -06:00
Dylan Herrada bb1ad733ad
Bump to 1.7.1 2020-12-11 16:38:24 -05:00
Limor "Ladyada" Fried a8c9c5183c
Merge pull request #40 from jgfoster/memory_leak
Release memory allocated in constructor to avoid memory leak
2020-11-30 19:07:32 -05:00
James Foster b837d9c427 Edit comment to match other functions. 2020-11-30 15:55:28 -08:00
James Foster 3fc89c5835 Release memory allocated in constructors 2020-11-30 15:47:49 -08:00
Dylan Herrada 2d5e81411a
Bump to 1.7.0 2020-11-30 16:16:50 -05:00
Limor "Ladyada" Fried efa3bed342
Merge pull request #38 from mirzafahad/master
Buffer arguments of I2CDevice write functions are changed to const so that the …
2020-11-29 17:26:08 -05:00
DESKTOP\fahadmirza d220abdabb Write functions' description updated that explains why the buffer arguments are const. 2020-11-29 01:54:32 -06:00
DESKTOP\fahadmirza 9af0ac41cc Revert "Added function description."
This reverts commit 0475316f1e.
2020-11-29 01:43:59 -06:00
Limor "Ladyada" Fried 4f444c180c
Merge pull request #39 from howard-wa9axq/Adafruit-spidevice-fix
Update Adafruit_SPIDevice.cpp
2020-11-28 21:23:02 -05:00
howard-wa9axq 074a8a9323
Update Adafruit_SPIDevice.cpp 2020-11-28 19:13:19 -06:00
howard-wa9axq ed828a27f7
Removed extra blank line 2020-11-28 18:37:05 -06:00
howard-wa9axq b8e11f14f1
Updated #if #elif structure.
Update #if #elif structure to avoid nested #ifdef's
2020-11-28 18:22:48 -06:00
howard-wa9axq 02b702fc41
Update Adafruit_SPIDevice.cpp
Changing #ifdef construct to make STM32 a special case.
2020-11-28 16:43:05 -06:00
howard-wa9axq 40ccbb3739
Update Adafruit_SPIDevice.cpp 2020-11-28 16:16:58 -06:00
howard-wa9axq 0787a7dd4d
Update Adafruit_SPIDevice.cpp
Adjusted syntax of added 'for' statement
2020-11-28 15:21:54 -06:00
howard-wa9axq 197d21ad2a
Update Adafruit_SPIDevice.cpp
Added code to define 'i'.
2020-11-28 15:05:52 -06:00
howard-wa9axq a5c631593e
Update Adafruit_SPIDevice.cpp
The SPI.cpp that the STM32 project uses does not have a transfer method with both a buffer and a length.  Changes to this file uses a transfer method that just needs a single 8 bit character.
2020-11-28 14:15:01 -06:00
DESKTOP\fahadmirza 0475316f1e Added function description. 2020-11-28 05:55:37 -06:00
DESKTOP\fahadmirza e19344e375 Applied clang formatting. 2020-11-28 05:25:16 -06:00
DESKTOP\fahadmirza c85b682bf6 Buffer arguments of write functions are changed to const so that the functions cannot change the content of the buffer. Also, if the I2C device's register address are define using const rather than #define, the functions can accept those too. 2020-11-26 03:17:49 -06:00
Limor "Ladyada" Fried 5ef1481a1f
Merge pull request #36 from WereCatf/patch-1
Make compatible with Heltec's CubeCell Arduino-core
2020-11-23 17:41:07 -05:00
WereCatf 808cb38772
Update Adafruit_SPIDevice.h 2020-11-23 23:40:45 +02:00
WereCatf 031e1c2d31
Make compatible with Heltec's CubeCell Arduino-core
The functions fast pin-I/O uses are currently missing, so don't define BUSIO_USE_FAST_PINIO. Also, we need typedef for BitOrder, but it refuses to compile without also including Arduino.h, at least under PlatformIO.
2020-11-23 20:42:22 +02:00
Dylan Herrada bbb893f51d
Bump to 1.6.0 2020-10-27 16:32:09 -04:00
Limor "Ladyada" Fried 701e7ece5a
Merge pull request #35 from SpenceKonde/patch-1
Fix support for megaTinyCore, add DxCore support
2020-10-23 17:41:17 -04:00
Spence Konde (aka Dr. Azzy) c3be1c190b
Fix support for megaTinyCore, add DxCore support
Testing for the define from build.board is not a good test (I recently updated them to refer to the specific part, instead of just the number of pins, for example) - instead, test for the MEGATINYCORE define, which is defined by Arduino.h and will always be there , and will be for all future versions of megaTinyCore. Also added a test for DxCore, which supports the new AVR Dx-series parts, and does SPI bit order in the same way. I confirmed that the examples now compile again on megaTinyCore with this change - and now compile for DxCore as well
2020-10-23 17:25:24 -04:00
Dylan Herrada 467580a5b1
Bump to 1.5.0 2020-09-07 15:51:17 -04:00
Limor "Ladyada" Fried 8366070779
Merge pull request #33 from rgiese/master
Help library build with Spark/Particle
2020-09-04 16:32:40 -04:00
Robin Giese dacc017bb6 Use blocking DMA for SPI transfer 2020-08-24 09:32:20 -07:00
Robin Giese b8da0bd043 Formatting fixes 2020-08-23 21:44:10 -07:00
Robin Giese 2fce4a24f2 Version bump 2020-08-23 21:19:05 -07:00
Robin Giese 28cc900343 Help library compile for Spark/Particle 2020-08-23 21:18:19 -07:00
dherrada ff953cc422
Bump to 1.4.1 2020-07-27 15:42:05 -04:00
Limor "Ladyada" Fried 7b93060f0f
Merge pull request #32 from MCUdude/master
Add support for more megaAVR targets
2020-07-22 18:49:30 -04:00
Hans 8af8000694
Add support for more megaAVR targets
Specifically ATmega4809/3209/1609/809 and ATmega4808/3208/1608/808
2020-07-22 21:43:03 +02:00
lady ada e7fff533a3 add some delays to slow down fast bitbang on demand 2020-07-18 18:40:45 -04:00
lady ada 3ab09b4a46 clang 2020-07-18 15:58:19 -04:00
lady ada a552fae34e only write MOSI if its changed 2020-07-18 15:57:15 -04:00
lady ada a830055740 remove extra shifts 2020-07-18 15:50:07 -04:00
lady ada b1b5f031e7 shortcut to alt modes 2020-07-18 15:40:52 -04:00