PokittoLib with changes to lcd refresh etc.
Fork of Pokitto by
This is a fork by user @Spinal, and is used in Pokittris for testing. Do not import this to your own program.
libpff/connect.h@11:02ad9c807a21, 2017-10-15 (annotated)
- Committer:
- spinal
- Date:
- Sun Oct 15 18:03:02 2017 +0000
- Revision:
- 11:02ad9c807a21
- Parent:
- 0:e8b8f36b4505
fixed 4color refreshRegion code
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 |