#include "spibus.h"
WireSPI SPI;
...
SPI.begin();
...
SPI.beginTransaction( 1000000, -1, 0); // Start transaction at 1MHz in SPI mode 0, CS is not specified (-1)
SPI.transfer(data, len); // Transfer buffer data of length len bytes
SPI.endTransaction(); // End transaction
...
SPI.end();
...
-
Notifications
You must be signed in to change notification settings - Fork 2
ESP32 C++ spi library
License
lexus2k/esp32_spi
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ESP32 C++ spi library
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published