68 lines
3.2 KiB
C
68 lines
3.2 KiB
C
// all the arrays below are generated from images using image2cpp website
|
|
// PROGMEM is used to store the images in flash memory instead of SRAM
|
|
|
|
const unsigned char upir_logo [] PROGMEM = { // this is another way how to define images, using binary notation
|
|
B00010101, B11010111,
|
|
B00010101, B01000101,
|
|
B00010101, B10010110,
|
|
B00011001, B00010101
|
|
};
|
|
|
|
// 'icon_3dcube', 16x16px
|
|
const unsigned char bitmap_icon_3dcube [] PROGMEM = {
|
|
0x00, 0x00, 0x01, 0x80, 0x07, 0x60, 0x19, 0x18, 0x61, 0x06, 0x51, 0x0a, 0x45, 0xa2, 0x41, 0x02,
|
|
0x45, 0x22, 0x41, 0x02, 0x45, 0xa2, 0x51, 0x0a, 0x61, 0x06, 0x19, 0x18, 0x07, 0x60, 0x01, 0x80
|
|
};
|
|
// 'icon_battery', 16x16px
|
|
const unsigned char bitmap_icon_battery [] PROGMEM = {
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xf8, 0x40, 0x04, 0x5b, 0x66, 0x5b, 0x66,
|
|
0x5b, 0x66, 0x40, 0x04, 0x3f, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
|
};
|
|
// 'icon_dashboard', 16x16px
|
|
const unsigned char bitmap_icon_dashboard [] PROGMEM = {
|
|
0x07, 0xe0, 0x18, 0x18, 0x21, 0x24, 0x50, 0x02, 0x48, 0x0a, 0x84, 0x01, 0x83, 0x81, 0xa2, 0x45,
|
|
0x82, 0x41, 0x81, 0x81, 0xa0, 0x05, 0x40, 0x02, 0x4b, 0xd2, 0x23, 0xc4, 0x18, 0x18, 0x07, 0xe0
|
|
};
|
|
// 'icon_fireworks', 16x16px
|
|
const unsigned char bitmap_icon_fireworks [] PROGMEM = {
|
|
0x00, 0x00, 0x00, 0x08, 0x00, 0x94, 0x10, 0x08, 0x10, 0x00, 0x6c, 0x00, 0x10, 0x10, 0x10, 0x10,
|
|
0x00, 0x00, 0x00, 0xc6, 0x00, 0x00, 0x00, 0x10, 0x04, 0x10, 0x0a, 0x00, 0x04, 0x00, 0x00, 0x00
|
|
};
|
|
// 'icon_gps_speed', 16x16px
|
|
const unsigned char bitmap_icon_gps_speed [] PROGMEM = {
|
|
0x00, 0x00, 0x03, 0xf0, 0x00, 0x08, 0x01, 0xe4, 0x00, 0x12, 0x00, 0xca, 0x06, 0x2a, 0x07, 0x2a,
|
|
0x07, 0x8a, 0x07, 0xc2, 0x07, 0xc0, 0x0a, 0x00, 0x1f, 0x00, 0x20, 0x80, 0x7f, 0xc0, 0x00, 0x00
|
|
};
|
|
// 'icon_knob_over_oled', 16x16px
|
|
const unsigned char bitmap_icon_knob_over_oled [] PROGMEM = {
|
|
0x00, 0x00, 0x1f, 0xf0, 0x13, 0x50, 0x1b, 0xb0, 0x11, 0x50, 0x1f, 0xf0, 0x03, 0x80, 0x01, 0x00,
|
|
0x00, 0x00, 0x09, 0x20, 0x49, 0x24, 0x20, 0x08, 0x00, 0x01, 0x80, 0x02, 0x00, 0x00, 0x00, 0x00
|
|
};
|
|
// 'icon_parksensor', 16x16px
|
|
const unsigned char bitmap_icon_parksensor [] PROGMEM = {
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x22, 0x00, 0x25, 0x00, 0xf9, 0x00, 0x00, 0x81,
|
|
0x0c, 0x85, 0x12, 0x95, 0xd2, 0x95, 0x0c, 0x05, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
|
};
|
|
// 'icon_turbo', 16x16px
|
|
const unsigned char bitmap_icon_turbo [] PROGMEM = {
|
|
0x00, 0x0e, 0x07, 0xf1, 0x18, 0x01, 0x20, 0x01, 0x40, 0x01, 0x43, 0xf1, 0x84, 0x4e, 0x8a, 0xa0,
|
|
0x89, 0x22, 0x8a, 0xa2, 0x84, 0x42, 0x43, 0x84, 0x40, 0x04, 0x20, 0x08, 0x18, 0x30, 0x07, 0xc0
|
|
};
|
|
|
|
// Array of all bitmaps for convenience. (Total bytes used to store images in PROGMEM = 384)
|
|
const unsigned char* bitmap_icons[8] = {
|
|
bitmap_icon_3dcube,
|
|
bitmap_icon_battery,
|
|
bitmap_icon_dashboard,
|
|
bitmap_icon_fireworks,
|
|
bitmap_icon_gps_speed,
|
|
bitmap_icon_knob_over_oled,
|
|
bitmap_icon_parksensor,
|
|
bitmap_icon_turbo
|
|
};
|
|
|
|
|
|
|
|
|
|
// ------------------ end generated bitmaps from image2cpp ---------------------------------
|
|
|