PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
libpff/connect.h@64:6e6c6c2b664e, 2018-11-18 (annotated)
- Committer:
- spinal
- Date:
- Sun Nov 18 15:47:54 2018 +0000
- Revision:
- 64:6e6c6c2b664e
- Parent:
- 52:c04087025cab
added fix for directrectangle()
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 |