#include "sure_7seg.h"
Go to the source code of this file.
Functions | |
uns8 | sure_7seg_convert (uns8 digit) |
void | sure_7seg_setup () |
Setup ports and pins to communicate to Sure display. | |
void | sure_7seg_write_str (char *data) |
Display ASCII string to 7 segment displays. |
uns8 sure_7seg_convert | ( | uns8 | digit | ) |
Definition at line 21 of file sure_7seg.c.
Referenced by sure_7seg_write_str().
void sure_7seg_setup | ( | ) |
Set up ports and pins as appropriate to communicate via SPI to Sure 7 segment displays
Definition at line 16 of file sure_7seg.c.
References spi_setup().
void sure_7seg_write_str | ( | char * | data | ) |
Converts ASCII to the appropriate magic characters to display on a Sure 7 segment display. Only numbers 0-9 and space are implented for now.
Definition at line 37 of file sure_7seg.c.
References clear_pin, set_pin, spi_write_sure(), sure_7seg_convert(), and uns8.