00001 00013 #ifndef __sure_7seg_h 00014 #define __sure_7seg_h 00015 00016 #include "spi.h" 00017 #include "pic_utils.h" 00018 00025 void sure_7seg_setup(); 00026 00034 /* 00035 00036 To create your own characters, add together: 00037 0x40 00038 -------- 00039 | | 00040 0x02 | | 0x20 00041 | 0x01 | 00042 |------| 00043 | | 00044 0x04 | | 0x10 00045 | | 00046 -------- 00047 0x08 00048 00049 */ 00050 00051 00052 00053 00054 00055 */ 00056 void sure_7seg_write_str(char *data); 00057 00058 #endif