SPI Device with cgo
This commit is contained in:
parent
42ddc404de
commit
0e7e9cb4f5
1 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,14 @@
|
|||
package rfm69
|
||||
|
||||
/*
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/spi/spidev.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue