This is a basic example how to draw a bitmap on Pokitto screen

Dependencies:   PokittoLib

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pokitto_icon.h Source File

pokitto_icon.h

00001 #include <stdint.h>
00002 
00003 //Total colors 10
00004 const uint16_t pokitto_icon_pal[] = {
00005 27973,63519,4195,28185,57210,13092,33972,54611,23545,16678,
00006 };
00007 
00008 const uint8_t pokitto_icon[] =
00009 {
00010 36,40,
00011 17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,
00012 17,17,18,34,34,34,34,34,34,34,34,34,34,34,34,17,17,17,
00013 17,17,32,0,0,0,0,0,0,0,0,0,0,0,0,33,17,17,
00014 17,18,5,80,0,0,0,0,0,0,0,0,0,0,85,2,17,17,
00015 17,18,5,32,0,0,0,0,0,0,0,0,0,0,37,2,17,17,
00016 17,18,0,0,34,34,34,34,34,34,34,34,34,32,0,2,17,17,
00017 17,18,0,2,51,51,51,51,51,51,51,51,51,50,0,2,17,17,
00018 17,18,0,2,51,51,51,51,51,51,51,51,51,50,0,2,17,17,
00019 17,18,0,2,51,51,68,67,51,51,68,67,51,50,0,2,17,17,
00020 17,18,0,2,51,52,68,68,51,52,68,68,51,50,0,2,17,17,
00021 17,18,0,2,51,68,72,132,67,68,72,132,67,50,0,2,17,17,
00022 17,34,0,2,51,68,130,36,67,68,130,36,67,50,0,2,33,17,
00023 18,0,0,2,51,68,130,36,67,68,130,36,67,50,0,0,2,17,
00024 32,85,0,2,51,52,68,68,51,52,68,68,51,50,0,5,80,33,
00025 32,82,0,2,51,51,51,51,51,51,51,51,51,50,0,2,80,33,
00026 37,0,0,2,51,51,119,51,51,51,55,115,51,50,0,0,5,33,
00027 18,85,0,2,51,51,119,50,34,34,55,115,51,50,0,5,82,17,
00028 17,37,0,2,51,51,51,50,146,146,51,51,51,50,0,5,33,17,
00029 17,18,0,2,51,51,51,51,41,35,51,51,51,50,0,2,17,17,
00030 17,18,0,2,51,51,51,51,51,51,51,51,51,50,0,2,17,17,
00031 17,18,0,2,51,51,51,51,51,51,51,51,51,50,0,2,17,17,
00032 17,18,0,0,34,34,34,34,34,34,34,34,34,32,0,2,17,17,
00033 17,18,0,0,0,0,0,0,0,0,0,0,0,0,0,2,17,17,
00034 17,18,0,0,0,68,64,0,0,0,0,0,4,64,0,2,17,17,
00035 17,18,0,0,0,68,64,0,0,0,0,0,68,68,0,2,17,17,
00036 17,18,0,0,0,68,64,0,0,0,68,0,68,68,0,2,17,17,
00037 17,18,0,4,68,68,68,68,0,4,68,64,100,70,0,2,17,17,
00038 17,18,0,4,68,68,68,68,0,4,68,64,6,96,0,2,17,17,
00039 17,18,0,4,68,68,68,68,0,6,68,96,0,0,0,2,17,17,
00040 17,18,0,6,102,68,70,102,0,0,102,0,0,0,0,2,17,17,
00041 17,18,0,0,0,68,64,0,0,0,0,0,0,0,0,2,17,17,
00042 17,18,0,0,0,68,64,0,68,68,0,0,0,0,0,2,17,17,
00043 17,18,0,0,0,102,96,0,68,68,0,0,0,0,0,2,17,17,
00044 17,18,5,32,0,0,0,0,102,102,0,0,0,0,37,2,17,17,
00045 17,18,5,80,0,0,0,0,0,0,0,0,0,0,85,2,17,17,
00046 17,18,0,0,0,0,0,0,0,0,0,0,0,0,0,2,17,17,
00047 17,18,5,80,85,34,34,34,34,34,34,34,37,80,85,2,17,17,
00048 17,18,5,32,82,17,17,17,17,17,17,17,18,80,37,2,17,17,
00049 17,17,32,2,33,17,17,17,17,17,17,17,17,34,0,33,17,17,
00050 17,17,18,33,17,17,17,17,17,17,17,17,17,17,34,17,17,17,
00051 };
00052