diff options
Diffstat (limited to 'wirish/comm/HardwareSPI.h')
-rw-r--r-- | wirish/comm/HardwareSPI.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wirish/comm/HardwareSPI.h b/wirish/comm/HardwareSPI.h index b974334..e606c0c 100644 --- a/wirish/comm/HardwareSPI.h +++ b/wirish/comm/HardwareSPI.h @@ -49,7 +49,8 @@ class HardwareSPI { HardwareSPI(uint32 spi_num); void begin(void); void begin(SPIFrequency freq, uint32 endianness, uint32 mode); - void send(uint8 data); + uint8 send(uint8 data); + uint8 send(uint8 *data, uint32 length); uint8 recv(void); }; |