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@0:e8b8f36b4505, 2017-09-18 (annotated)
- Committer:
- Pokitto
- Date:
- Mon Sep 18 11:47:51 2017 +0000
- Revision:
- 0:e8b8f36b4505
Initial;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 0:e8b8f36b4505 | 1 | #ifndef _CONNECT_H_ |
Pokitto | 0:e8b8f36b4505 | 2 | |
Pokitto | 0:e8b8f36b4505 | 3 | //SDFileSystem sd(P0_9,P0_8, P1_29, P1_19, "sd"); // mosi,miso,clk,cs |
Pokitto | 0:e8b8f36b4505 | 4 | #define CONNECT_MOSI P0_9 //p5 |
Pokitto | 0:e8b8f36b4505 | 5 | #define CONNECT_MISO P0_8 //p6 |
Pokitto | 0:e8b8f36b4505 | 6 | #define CONNECT_SCK P0_6 //p7 |
Pokitto | 0:e8b8f36b4505 | 7 | #define CONNECT_CS P0_7 //p13 |
Pokitto | 0:e8b8f36b4505 | 8 | #define SPI_FREQ 400000 |
Pokitto | 0:e8b8f36b4505 | 9 | |
Pokitto | 0:e8b8f36b4505 | 10 | #define _CONNECT_H_ |
Pokitto | 0:e8b8f36b4505 | 11 | #endif |
Pokitto | 0:e8b8f36b4505 | 12 |