Use a chip select of 1 for SPI on Aster RPi header
This commit is contained in:
parent
d5ce589c5f
commit
652d196e5d
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
#define GPIO_RES 31 /* SODIMM 67 */
|
#define GPIO_RES 31 /* SODIMM 67 */
|
||||||
|
|
||||||
#define SPI_DEVICE 1
|
#define SPI_DEVICE 1
|
||||||
#define CHIP_SELECT 0
|
#define CHIP_SELECT 1
|
||||||
|
|
||||||
char value[10] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
|
char value[10] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue