-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.h
66 lines (45 loc) · 3.67 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifdef TEENSYDUINO
#define SizeEVE 5 //5//54//43 // NHD: 7-7", 5-5", 43-4.3", 35-3.5", Riverdi: 51-5", 71-7", MO: 38-3.8"FT813, MO: 52-5"BT815, MO: 53-5"FT813, Riverdi: 54-5" BT817, 0 Riverdi FT801/FT800 4.3", Riverdi: 100-10" BT817
// 431-EVE3x-43 MO Riverdi: 74-7" BT817 434, Riverdi BT817 4.3"
#define ORIENTACION 0//0//0//1 // 0, 1, 2, 3, FT81X/BT81X 0 normal
#define ROTACION 0 // 0,1 FT80x
#define CS 10 // general
#define SetSPISpeed 36000000 // general
#define NHDTouch 1 // 1 cargar rutinas panel táctil 0 NHD normal aparentemente no lo requiere?¿
#define GameduinoX 0 // 1 gameduinox shield instalado 0 otros como NHD43 o FT843
#endif
#if defined(ARDUINO_ARCH_STM32)
#define STM32_CPU 767//446 //746 // 103-M3DEMO-F103C8, 767-NucleoF767, 411-F411CE, 746-Core7XXI, 4073-M4DEMO-F407VG STM32-Danieleff and SdFatV2 7670-CoreOfficialSTM32-v190 7460-CoreOfficialSTM32-v190
// 446-F446RE DanieleffCore 4074-F407VG STM32-OfficialCore
#define SizeEVE 5 //5 //53 // NHD: 7-7", 5-5", 43-4.3", 35-3.5", Riverdi: 51-5", 71-7", MO: 38-3.8"FT813, MO: 52-5"FT813, MO: 53-5"BT815, Riverdi: 54-5" BT817, 0 Riverdi FT801/FT800 4.3", Riverdi: 100-10" BT817
#define ORIENTACION 0 // 0, 1, 2, 3, FT81X/BT81X 0 normal 1-MO38
#define ROTACION 0 // 0,1 FT80x
#define CS PA4 // general
#define SetSPISpeed 36000000 // general
#define NHDTouch 1 // 1 cargar rutinas panel táctil 0 NHD normal aparentemente no lo requiere?¿ usar en STM32 cuando falle EEPROM externa
#define GameduinoX 0 // 1 gameduinox shield instalado 0 otros como NHD43 o FT843
#endif
#if defined(ARDUINO_TEENSY32)
//#define SetSPISpeed 18000000 // general
#define SD_PIN 5 //under test
#endif
#if defined(ARDUINO_ARCH_RP2040)
#define SizeEVE 35 // NHD: 7-7", 5-5", 43-4.3", 35-3.5", Riverdi: 51-5", 71-7", MO: 38-3.8"FT813, MO: 52-5"BT815, MO: 53-5"FT813, Riverdi: 54-5" BT817, 0 Riverdi FT801/FT800 4.3", Riverdi: 100-10" BT817
// 431-EVE3x-43 MO Riverdi: 74-7" BT817
#define ORIENTACION 0 // 0, 1, 2, 3, FT81X/BT81X 0 normal
#define ROTACION 0 // 0,1 FT80x
#define CS 17 // general
//#define SetSPISpeed 8000000 // general
#define NHDTouch 1 // 1 cargar rutinas panel táctil 0 NHD normal aparentemente no lo requiere?¿ Revisar funcionamiento de EEPROM en Pi-Pico, para ajustar vector táctil
#define GameduinoX 0 // 1 gameduinoX shield instalado 0 otros como NHD43 o FT843
#endif
#ifdef ARDUINO_UNOR4_MINIMA
#define SizeEVE 510 //5//54//43 // NHD: 7-7", 5-5", 43-4.3", 35-3.5", Riverdi: 51-5", 71-7", MO: 38-3.8"FT813, MO: 52-5"BT815, MO: 53-5"FT813, Riverdi: 54-5" BT817, 0 Riverdi FT801/FT800 4.3", Riverdi: 100-10" BT817
// 431-EVE3x-43 MO Riverdi: 74-7" BT817 434, Riverdi BT817 4.3" 510 - 5" HotMCU FT810CB-HY50HD-IPS
#define ORIENTACION 0//0//0//1 // 0, 1, 2, 3, FT81X/BT81X 0 normal
#define ROTACION 0 // 0,1 FT80x
#define CS 10 // general
#define SetSPISpeed 36000000 // general
#define NHDTouch 1 // 1 cargar rutinas panel táctil 0 NHD normal aparentemente no lo requiere?¿
#define GameduinoX 0 // 1 gameduinox shield instalado 0 otros como NHD43 o FT843
#endif