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!
Revision:
23:f88837b8f914
diff -r e826f80d8582 -r f88837b8f914 POKITTO_LIBS/ImageFormat/ImageFormat.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/POKITTO_LIBS/ImageFormat/ImageFormat.h	Fri Dec 29 05:17:10 2017 +0000
@@ -0,0 +1,37 @@
+/**************************************************************************/
+/*!
+    @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
+