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!

libpff/connect.h

Committer:
Pokitto
Date:
2018-07-01
Revision:
52:c04087025cab

File content as of revision 52:c04087025cab:

#ifndef _CONNECT_H_

namespace PFFS {

//SDFileSystem sd(P0_9,P0_8, P1_29, P1_19, "sd"); // mosi,miso,clk,cs
#define CONNECT_MOSI    P0_9 //p5
#define CONNECT_MISO    P0_8 //p6
#define CONNECT_SCK     P0_6 //p7
#define CONNECT_CS      P0_7 //p13
#define SPI_FREQ        20000000 // was 400000

} // namespace PFFS

#define _CONNECT_H_
#endif