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!
libpff/connect.h@52:c04087025cab, 2018-07-01 (annotated)
- Committer:
- Pokitto
- Date:
- Sun Jul 01 06:32:37 2018 +0000
- Revision:
- 52:c04087025cab
PokittoCookie, faster Mode2 and Mode13 added
Who changed what in which revision?
User | Revision | Line number | New 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 |