#include "spi.h"
#include "pic_utils.h"
Go to the source code of this file.
Functions | |
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. |
Ian Harris 2008 imharris [at] gmail.com
Released under the "do whatever you like with this but if you use it send me an email" license. Oh, and if it breaks, you get to keep both pieces.
Definition in file sure_7seg.h.
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.