Jonne Valola / PokittoLib Featured

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 Jun 27 13:14:54 2018 +0000
Revision:
50:ca94812a17b6
Parent:
0:e8b8f36b4505
Lockup at startup due to missing EEPROM values fixed

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pokitto 0:e8b8f36b4505 1 /*-------------------------------------------*/
Pokitto 0:e8b8f36b4505 2 /* Integer type definitions for FatFs module */
Pokitto 0:e8b8f36b4505 3 /*-------------------------------------------*/
Pokitto 0:e8b8f36b4505 4
Pokitto 0:e8b8f36b4505 5 #ifndef _INTEGER
Pokitto 0:e8b8f36b4505 6
Pokitto 0:e8b8f36b4505 7 /* These types must be 16-bit, 32-bit or larger integer */
Pokitto 0:e8b8f36b4505 8 typedef int INT;
Pokitto 0:e8b8f36b4505 9 typedef unsigned int UINT;
Pokitto 0:e8b8f36b4505 10
Pokitto 0:e8b8f36b4505 11 /* These types must be 8-bit integer */
Pokitto 0:e8b8f36b4505 12 typedef signed char CHAR;
Pokitto 0:e8b8f36b4505 13 typedef unsigned char UCHAR;
Pokitto 0:e8b8f36b4505 14 typedef unsigned char BYTE;
Pokitto 0:e8b8f36b4505 15
Pokitto 0:e8b8f36b4505 16 /* These types must be 16-bit integer */
Pokitto 0:e8b8f36b4505 17 typedef short SHORT;
Pokitto 0:e8b8f36b4505 18 typedef unsigned short USHORT;
Pokitto 0:e8b8f36b4505 19 typedef unsigned short WORD;
Pokitto 0:e8b8f36b4505 20 typedef unsigned short WCHAR;
Pokitto 0:e8b8f36b4505 21
Pokitto 0:e8b8f36b4505 22 /* These types must be 32-bit integer */
Pokitto 0:e8b8f36b4505 23 typedef long LONG;
Pokitto 0:e8b8f36b4505 24 typedef unsigned long ULONG;
Pokitto 0:e8b8f36b4505 25 typedef unsigned long DWORD;
Pokitto 0:e8b8f36b4505 26
Pokitto 0:e8b8f36b4505 27 /* Boolean type */
Pokitto 0:e8b8f36b4505 28 // typedef enum { FALSE = 0, TRUE } BOOL; // for soe reason does not work, but otoh isnt used anywhere
Pokitto 0:e8b8f36b4505 29
Pokitto 0:e8b8f36b4505 30 #define _INTEGER
Pokitto 0:e8b8f36b4505 31 #endif
Pokitto 0:e8b8f36b4505 32