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:
Tue Oct 23 16:21:01 2018 +0000
Revision:
63:7d1c08cdde5c
Parent:
52:c04087025cab
Graphics bug fixed

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pokitto 52:c04087025cab 1 #ifndef _CONNECT_H_
Pokitto 52:c04087025cab 2
Pokitto 52:c04087025cab 3 namespace PFFS {
Pokitto 52:c04087025cab 4
Pokitto 52:c04087025cab 5 //SDFileSystem sd(P0_9,P0_8, P1_29, P1_19, "sd"); // mosi,miso,clk,cs
Pokitto 52:c04087025cab 6 #define CONNECT_MOSI P0_9 //p5
Pokitto 52:c04087025cab 7 #define CONNECT_MISO P0_8 //p6
Pokitto 52:c04087025cab 8 #define CONNECT_SCK P0_6 //p7
Pokitto 52:c04087025cab 9 #define CONNECT_CS P0_7 //p13
Pokitto 52:c04087025cab 10 #define SPI_FREQ 20000000 // was 400000
Pokitto 52:c04087025cab 11
Pokitto 52:c04087025cab 12 } // namespace PFFS
Pokitto 52:c04087025cab 13
Pokitto 52:c04087025cab 14 #define _CONNECT_H_
Pokitto 52:c04087025cab 15 #endif
Pokitto 52:c04087025cab 16
Pokitto 52:c04087025cab 17