This is a basic example how to draw a bitmap on Pokitto screen
Dependencies: PokittoLib
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!
My_settings.h@0:9783d85b2a06, 2018-01-01 (annotated)
- Committer:
- Pokitto
- Date:
- Mon Jan 01 10:22:35 2018 +0000
- Revision:
- 0:9783d85b2a06
Initial commit
Who changed what in which revision?
User | Revision | Line number | New 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 |