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.
Fork of Muscle_Controlled_Servo by
LCD.h@5:11489c0bd020, 2018-04-05 (annotated)
- Committer:
- BenRJG
- Date:
- Thu Apr 05 15:54:48 2018 +0000
- Revision:
- 5:11489c0bd020
- Parent:
- 4:bcef9164776e
- Child:
- 8:462ce856429b
Separated functions to individual SPI, FPGA, LCD and ADC files
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| BenRJG | 4:bcef9164776e | 1 | #ifndef _LCD_H_ |
| BenRJG | 4:bcef9164776e | 2 | #define _LCD_H_ |
| BenRJG | 4:bcef9164776e | 3 | //////Included Files////// |
| BenRJG | 4:bcef9164776e | 4 | #include "SPI.h" |
| BenRJG | 4:bcef9164776e | 5 | ////////////////////////// |
| BenRJG | 4:bcef9164776e | 6 | |
| BenRJG | 4:bcef9164776e | 7 | ///////Definitions//////// |
| BenRJG | 4:bcef9164776e | 8 | |
| BenRJG | 4:bcef9164776e | 9 | ////////////////////////// |
| BenRJG | 4:bcef9164776e | 10 | |
| BenRJG | 4:bcef9164776e | 11 | ////////Functions///////// |
| BenRJG | 5:11489c0bd020 | 12 | void LCD_INIT(void); |
| BenRJG | 4:bcef9164776e | 13 | |
| BenRJG | 5:11489c0bd020 | 14 | int32_t bar_graph(uint8_t level); //Display a bar graph on the lcd 2nd line scale 0 to 15 |
| BenRJG | 5:11489c0bd020 | 15 | |
| BenRJG | 5:11489c0bd020 | 16 | int32_t lcd_cls(void); //LCD Functions here, Clear Screen, Locate and Display String |
| BenRJG | 5:11489c0bd020 | 17 | int32_t lcd_locate(uint8_t line, uint8_t column); //Line Max is 2, Column max is 16 |
| BenRJG | 5:11489c0bd020 | 18 | int32_t lcd_display(char* str); //String str length maximum is 16 |
| BenRJG | 4:bcef9164776e | 19 | ////////////////////////// |
| BenRJG | 4:bcef9164776e | 20 | #endif |
