Ben Gordon
/
Muscle_Controlled_Servo
Diff: SPI.h
- Revision:
- 5:11489c0bd020
- Parent:
- 4:bcef9164776e
- Child:
- 9:a7085b7503d2
--- a/SPI.h Tue Apr 03 20:00:23 2018 +0000 +++ b/SPI.h Thu Apr 05 15:54:48 2018 +0000 @@ -19,15 +19,6 @@ ////////Functions///////// //Function Prototypes, will just output a string to display, see later// void SPI_INIT(void); - void SPI_TEST(void); - - int32_t bar_graph(uint8_t level); //Display a bar graph on the lcd 2nd line scale 0 to 15 - int32_t read_adc(void); //Read ADC and return the 12 Bit value 0 to 4095 NB has a 3V3 refernce voltage (for scaling) - int32_t read_switches(void); //Read 4 Sliding switches on FPGA (Simulating OPTO-Switches from Motor(s) - - int32_t lcd_cls(void); //LCD Functions here, Clear Screen, Locate and Display String - int32_t lcd_locate(uint8_t line, uint8_t column); //Line Max is 2, Column max is 16 - int32_t lcd_display(char* str); //String str length maximum is 16 void spi_write_data(short destination, unsigned int data); int32_t spi_read_data(short destination);