ButterflyMP3
|
00001 00031 #ifndef LCDG_C 00032 #define LCDG_C 00033 00034 00035 #define SONG_TITLE_WIDTH 20 00036 #define SONG_TITLE_PAUSE 4 00037 00038 // 00039 // defines for LED Matrix Option 00040 // 00041 #ifdef LED_MATRIX 00042 #define LEDMATRIXCOLPORT PORTC ///< use PORTC to control columns 00043 #define LEDMATRIXCOLDDR DDRC 00044 #define LEDMATRIXROWPORT PORTG ///< user PORTG to control rows 00045 #define LEDMATRIXROWDDR DDRG 00046 #define LEDMATRIXCOLS 7 ///< setup 7 columns from 0..6 00047 #define LEDMATRIXROWS 3 ///< setup 3 rows on PORTG0..2 00048 #define LEDROWMASK ((1<<(LEDMATRIXROWS))-1) ///< mask for all matrix bits 00049 #define LEDCOLMASK ((1<<(LEDMATRIXCOLS))-1) ///< mask for all matrix bits 00050 #endif 00051 00052 void LCD_Initialize(void); 00053 void LCD_Blank(void); 00054 void LCD_PrintfU4(uint8 Data); 00055 void LCD_PrintfU8(uint8 Data); 00056 uint8 LCD_Time(uint16 data); 00057 uint8 LCD_FileName(uint8 resetScroll); 00058 void LCD_Play(void); 00059 void LCD_Stop(void); 00060 void LCD_Pause(void); 00061 void LCD_Vol(uint8 volume, uint8 boostOn); 00062 uint8 LCD_Tester(void); 00063 void LCD_Sleep(void); 00064 void LCD_Wake(void); 00065 void LCD_Scanning(void); 00066 void LCD_Battery(uint8 percentage); 00067 00068 #endif