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

Dependencies:   PokittoLib

/media/uploads/Pokitto/img_20180101_122531.jpg

Pokitto drawBitmap basic example

The bitmap was created with Photoshop (but you can use any similar drawing program) and converted to a .h resource file using Filippos img2pok tool, available here: https://github.com/Effer/img2pok

To try it out yourself

Just press the "Import into compiler" button on top right of this page!

Committer:
Pokitto
Date:
Wed May 02 06:22:13 2018 +0000
Revision:
3:401b951fdcdc
Parent:
0:9783d85b2a06
New pokittolib with improved volume controls & better button handling

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pokitto 0:9783d85b2a06 1 /**************************************************************************/
Pokitto 0:9783d85b2a06 2 /*!
Pokitto 0:9783d85b2a06 3 @file My_settings.h
Pokitto 0:9783d85b2a06 4 @author XX
Pokitto 0:9783d85b2a06 5
Pokitto 0:9783d85b2a06 6 @section HOW TO USE My_settings
Pokitto 0:9783d85b2a06 7
Pokitto 0:9783d85b2a06 8 My_settings can be used to set project settings inside the mbed online IDE
Pokitto 0:9783d85b2a06 9 */
Pokitto 0:9783d85b2a06 10 /**************************************************************************/
Pokitto 0:9783d85b2a06 11
Pokitto 0:9783d85b2a06 12 #ifndef MY_SETTINGS_H
Pokitto 0:9783d85b2a06 13 #define MY_SETTINGS_H
Pokitto 0:9783d85b2a06 14
Pokitto 0:9783d85b2a06 15 #define PROJ_HIRES 0 //1 = high resolution (220x176) , 0 = low resolution fast mode (110x88)
Pokitto 0:9783d85b2a06 16 #define PROJ_ENABLE_SOUND 1 // 0 = all sound functions disabled
Pokitto 0:9783d85b2a06 17
Pokitto 0:9783d85b2a06 18 #endif
Pokitto 0:9783d85b2a06 19