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!

POKITTO_LIBS/ImageFormat/ImageFormat.h

Committer:
Pokitto
Date:
2019-12-25
Revision:
71:531419862202
Parent:
23:f88837b8f914

File content as of revision 71:531419862202:

/**************************************************************************/
/*!
    @file     ImageFormat.h
    @author   Hannu Viitala

    @section LICENSE

    Pokitto development stage library
    Software License Agreement

    Copyright (c) 2015, Jonne Valola ("Author")
    All rights reserved.

    This library is intended solely for the purpose of Pokitto development.

    Redistribution and use in source and binary forms, with or without
    modification requires written permission from Author.
*/
/**************************************************************************/

#ifndef IMAGE_FORMAT_H

#define POK_TRACE(str) printf("%s (%d): %s", __FILE__, __LINE__,str)

extern int openImageFileFromSD(char*, uint16_t **, uint8_t **);
extern int directDrawImageFileFromSD(int16_t /*sx*/, int16_t /*sy*/, char* /*filepath*/);
extern int directDrawImageFileFromSD(uint16_t /*ix*/, uint16_t /*iy*/, uint16_t /*iw*/, uint16_t /*ih*/, int16_t /*sx*/, int16_t /*sy*/, char* /*filepath*/);

#define IMAGE_FORMAT_H


#ifndef boolean
//typedef bool boolean;
#endif

#endif // IMAGE_FORMAT_H