This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-spi
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Make sure MSBFIRST & LSBFIRST always defined
main
PaulStoffregen
10 years ago
parent
e07c056bf8
commit
2fae5ca5ae
1 changed files
with
7 additions
and
0 deletions
Split View
Show Diff Stats
+7
-0
SPI.h
+ 7
- 0
SPI.h
View File
@@ -30,6 +30,13 @@
#endif
#endif
#ifndef LSBFIRST
#define LSBFIRST 0
#endif
#ifndef MSBFIRST
#define MSBFIRST 1
#endif
#define SPI_MODE0 0x00
#define SPI_MODE1 0x04
#define SPI_MODE2 0x08
Write
Preview
Loading…
Cancel
Save