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
io_pins.h@8:d8bc78bda829, 2018-02-22 (annotated)
- Committer:
- phn10
- Date:
- Thu Feb 22 03:10:01 2018 +0000
- Revision:
- 8:d8bc78bda829
- Child:
- 16:dfa9eb1a808d
write function initial_setup() which set LED display to normal operation, spi frequency, and set all LED display numbers to 0.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| phn10 | 8:d8bc78bda829 | 1 | /****************************************************************************** |
| phn10 | 8:d8bc78bda829 | 2 | * EECS 397 |
| phn10 | 8:d8bc78bda829 | 3 | * |
| phn10 | 8:d8bc78bda829 | 4 | * Assignment Name: Lab 4: display_test2 |
| phn10 | 8:d8bc78bda829 | 5 | * |
| phn10 | 8:d8bc78bda829 | 6 | * Authors: Sam Morrison and Phong Nguyen |
| phn10 | 8:d8bc78bda829 | 7 | * File name: io_pins.h |
| phn10 | 8:d8bc78bda829 | 8 | * Purpose: Declare symbolic constants for each of I/O pins |
| phn10 | 8:d8bc78bda829 | 9 | * |
| phn10 | 8:d8bc78bda829 | 10 | * Created: 02/21/2018 |
| phn10 | 8:d8bc78bda829 | 11 | * Last Modified: 02/21/2018 |
| phn10 | 8:d8bc78bda829 | 12 | * |
| phn10 | 8:d8bc78bda829 | 13 | ******************************************************************************/ |
| phn10 | 8:d8bc78bda829 | 14 | |
| phn10 | 8:d8bc78bda829 | 15 | #define CHIP_SELECT PC_7 |
| phn10 | 8:d8bc78bda829 | 16 | #define MOSI PA_7 |
| phn10 | 8:d8bc78bda829 | 17 | #define MISO PA_6 |
| phn10 | 8:d8bc78bda829 | 18 | #define SCLK PA_5 |
