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
- Import this library to online compiler (see button "import" on the right hand side
- DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
- Change My_settings.h according to your project
- Start coding!
Diff: libpff/connect.h
- Revision:
- 0:e8b8f36b4505
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libpff/connect.h Mon Sep 18 11:47:51 2017 +0000 @@ -0,0 +1,12 @@ +#ifndef _CONNECT_H_ + +//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 400000 + +#define _CONNECT_H_ +#endif +