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: SPI_Encoder.h
- Revision:
- 3:d3694519bd73
- Parent:
- 1:7826ec4d9405
- Child:
- 4:2331b7fcfe8d
--- a/SPI_Encoder.h Sun Sep 15 17:39:58 2019 +0000
+++ b/SPI_Encoder.h Thu Sep 19 13:00:42 2019 +0000
@@ -27,8 +27,7 @@
DigitalOut cs3;
float delta_t;
bool direction[4];
- uint8_t temp[2][encoder_num];
- uint16_t EncoderByteData[encoder_num];
+
uint8_t _SPI_T (int num, uint8_t SPITransmit);
void _switching(int num, int value);
};