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.
Dependencies: mbed
Fork of WaG by
Diff: display.cpp
- Revision:
- 22:09dd6977576b
- Parent:
- 20:d23bcd97f2c5
- Child:
- 23:3da1d39c1ae9
--- a/display.cpp Wed Mar 07 00:50:57 2018 +0000 +++ b/display.cpp Thu Mar 08 17:16:18 2018 +0000 @@ -8,7 +8,7 @@ * Purpose: Contain function definitions * * Created: 03/01/2018 -* Last Modified: 03/02/2018 +* Last Modified: 03/08/2018 * ******************************************************************************/ #include "mbed.h" @@ -26,17 +26,14 @@ extern spi_cfg as1107; /* - * void initial_setup(DigitalOut SS, int data_length, int frequency); + * void initial_setup(struct spi_cfg spi_obj); * Description: setup spi data length (in bit), spi frequency, set LED * display to normal operation, and set all display numbers * to 0. * * Inputs: * Parameters: - * SPI spi: spi object - * DigitalOut SS: chip select pin - * int data_length: spi data length in bit - * int frequency: frequency of SPI communication + * struct spi_cfg spi_obj: spi_cfg object * * Outputs: * Returns: void
