PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers connect.h Source File

connect.h

00001 #ifndef _CONNECT_H_
00002 
00003 namespace PFFS {
00004 
00005 //SDFileSystem sd(P0_9,P0_8, P1_29, P1_19, "sd"); // mosi,miso,clk,cs
00006 #define CONNECT_MOSI    P0_9 //p5
00007 #define CONNECT_MISO    P0_8 //p6
00008 #define CONNECT_SCK     P0_6 //p7
00009 #define CONNECT_CS      P0_7 //p13
00010 #define SPI_FREQ        20000000 // was 400000
00011 
00012 } // namespace PFFS
00013 
00014 #define _CONNECT_H_
00015 #endif
00016 
00017