Skip to content
Snippets Groups Projects
Commit a56076a9 authored by paulscalise1's avatar paulscalise1
Browse files

cleaned up code

parent 4749e157
Branches
No related tags found
No related merge requests found
......@@ -49,11 +49,11 @@
#define SSD1306_CMD_COMH_DESLECT_LEVEL 0xDB /**< command comh deslect level */
#define SSD1306_CMD_NOP 0xE3 /**< command nop */
const uint8_t * flag[20] = {Frame0, Frame1, Frame2, Frame3, Frame4, Frame5, Frame6, Frame7, Frame8, Frame9, Frame10, \
Frame11, Frame12, Frame13, Frame14, Frame15, Frame16, Frame17, Frame18, Frame19};
const uint8_t * gif[18] = {gif1, gif2, gif3, gif4, gif5, gif6, gif7, gif8, gif9, gif10, \
gif11, gif12, gif13, gif14, gif15, gif16, gif17, gif18};
const uint8_t * pointers[9] = {gbr0, gbr1, gbr2, gbr3, gbr4, gbr5, gbr6, gbr7, gbr8};
const uint8_t * flag[20] = {flag0, flag1, flag2, flag3, flag4, flag5, flag6, flag7, flag8, flag9, flag10, \
flag11, flag12, flag13, flag14, flag15, flag16, flag17, flag18, flag19};
const uint8_t * herbie[18] = {herbie1, herbie2, herbie3, herbie4, herbie5, herbie6, herbie7, herbie8, herbie9, herbie10, \
herbie11, herbie12, herbie13, herbie14, herbie15, herbie16, herbie17, herbie18};
const uint8_t * gbr[9] = {gbr0, gbr1, gbr2, gbr3, gbr4, gbr5, gbr6, gbr7, gbr8};
uint8_t init1[5] = {0x00, 0xAE, 0xD5, 0x80, 0xA8};
uint8_t init2[2] = {0x00, 0x3F};
......
This diff is collapsed.
......@@ -414,11 +414,11 @@ void EXTI4_15_IRQHandler(void)
}
void Display_UNL_Info(void){
displayArray(gif, 4, 18, 0, 63);
displayArray(herbie, 4, 18, 0, 63);
ssd1306_bitmap(dept);
LPTIM_Delay(4000);
displayArray(flag, 2, 20, 0, 10);
displayArray(pointers, 2, 8, 1, 7);
displayArray(gbr, 2, 8, 1, 7);
///ssd1306_bitmap((const uint8_t *)dept);
//LPTIM_Delay(4000);
//ssd1306_bitmap((const uint8_t *)apply_qr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment