Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: bms.h
- Revision:
- 2:f6f76dde7e1d
- Parent:
- 1:4dd3e328a30b
--- a/bms.h Fri Feb 09 04:43:04 2018 +0000
+++ b/bms.h Sat Oct 26 05:24:17 2019 +0000
@@ -12,9 +12,11 @@
/*
Writes an array of bytes out of the SPI port
*/
+
void spi_write_array(uint8_t len, // Option: Number of bytes to be written on the SPI port
uint8_t data[] //Array of bytes to be written on the SPI port
);
+
/*
Writes and read a set number of bytes using the SPI port.
@@ -26,4 +28,4 @@
uint8_t rx_len //Option: number of bytes to be read from the SPI port
);
-uint8_t spi_read_byte(uint8_t tx_dat);//name conflicts with linduino also needs to take a byte as a parameter
+uint8_t spi_read_byte(uint8_t tx_dat);//name conflicts with linduino also needs to take a byte as a parameter
\ No newline at end of file