PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Dependents:   YATTT sd_map_test cPong SnowDemo ... more

PokittoLib

Library for programming Pokitto hardware

How to Use

  1. Import this library to online compiler (see button "import" on the right hand side
  2. DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
  3. Change My_settings.h according to your project
  4. Start coding!
Committer:
Pokitto
Date:
Wed Dec 25 23:59:52 2019 +0000
Revision:
71:531419862202
Parent:
23:f88837b8f914
Changed Mode2 C++ refresh code (graphical errors)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pokitto 23:f88837b8f914 1 /**************************************************************************/
Pokitto 23:f88837b8f914 2 /*!
Pokitto 23:f88837b8f914 3 @file ImageFormat.h
Pokitto 23:f88837b8f914 4 @author Hannu Viitala
Pokitto 23:f88837b8f914 5
Pokitto 23:f88837b8f914 6 @section LICENSE
Pokitto 23:f88837b8f914 7
Pokitto 23:f88837b8f914 8 Pokitto development stage library
Pokitto 23:f88837b8f914 9 Software License Agreement
Pokitto 23:f88837b8f914 10
Pokitto 23:f88837b8f914 11 Copyright (c) 2015, Jonne Valola ("Author")
Pokitto 23:f88837b8f914 12 All rights reserved.
Pokitto 23:f88837b8f914 13
Pokitto 23:f88837b8f914 14 This library is intended solely for the purpose of Pokitto development.
Pokitto 23:f88837b8f914 15
Pokitto 23:f88837b8f914 16 Redistribution and use in source and binary forms, with or without
Pokitto 23:f88837b8f914 17 modification requires written permission from Author.
Pokitto 23:f88837b8f914 18 */
Pokitto 23:f88837b8f914 19 /**************************************************************************/
Pokitto 23:f88837b8f914 20
Pokitto 23:f88837b8f914 21 #ifndef IMAGE_FORMAT_H
Pokitto 23:f88837b8f914 22
Pokitto 23:f88837b8f914 23 #define POK_TRACE(str) printf("%s (%d): %s", __FILE__, __LINE__,str)
Pokitto 23:f88837b8f914 24
Pokitto 23:f88837b8f914 25 extern int openImageFileFromSD(char*, uint16_t **, uint8_t **);
Pokitto 23:f88837b8f914 26 extern int directDrawImageFileFromSD(int16_t /*sx*/, int16_t /*sy*/, char* /*filepath*/);
Pokitto 23:f88837b8f914 27 extern int directDrawImageFileFromSD(uint16_t /*ix*/, uint16_t /*iy*/, uint16_t /*iw*/, uint16_t /*ih*/, int16_t /*sx*/, int16_t /*sy*/, char* /*filepath*/);
Pokitto 23:f88837b8f914 28
Pokitto 23:f88837b8f914 29 #define IMAGE_FORMAT_H
Pokitto 23:f88837b8f914 30
Pokitto 23:f88837b8f914 31
Pokitto 23:f88837b8f914 32 #ifndef boolean
Pokitto 23:f88837b8f914 33 //typedef bool boolean;
Pokitto 23:f88837b8f914 34 #endif
Pokitto 23:f88837b8f914 35
Pokitto 23:f88837b8f914 36 #endif // IMAGE_FORMAT_H
Pokitto 23:f88837b8f914 37