Ben Gordon
/
Muscle_Controlled_Servo
main.cpp@2:b615682e3e4f, 2018-04-01 (annotated)
- Committer:
- BenRJG
- Date:
- Sun Apr 01 15:54:46 2018 +0000
- Revision:
- 2:b615682e3e4f
- Parent:
- 1:acc66d3a1a1c
- Child:
- 5:11489c0bd020
Created functions from main code to SPI_TEST and SPI_INIT
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
BenRJG | 1:acc66d3a1a1c | 1 | #include "SPI.h" |
BenRJG | 0:87903e5535bc | 2 | |
BenRJG | 0:87903e5535bc | 3 | int main (void) |
BenRJG | 2:b615682e3e4f | 4 | { |
BenRJG | 2:b615682e3e4f | 5 | SPI_INIT(); |
BenRJG | 1:acc66d3a1a1c | 6 | while(true) //Loop forever Knight Rider Display on FPGA |
BenRJG | 0:87903e5535bc | 7 | { |
BenRJG | 2:b615682e3e4f | 8 | SPI_TEST(); |
BenRJG | 0:87903e5535bc | 9 | } |
BenRJG | 0:87903e5535bc | 10 | } |