-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
35 lines (32 loc) · 855 Bytes
/
platformio.ini
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
[common]
lib_deps =
ESP Async [email protected]
display = 1 ; 0 for 20x4 Liquid Display - 1 for OLED Display
display_address = 0x3C ; 0x27 default LCD - 0x3C default OLED Display
[env:esp8266]
platform = espressif8266
board = nodemcuv2
framework = arduino
monitor_speed = 115200
build_flags =
-DDIGITRANSIT_DISPLAY=${common.display}
-DDIGITRANSIT_DISPLAY_ADDRESS=${common.display_address}
-DNODE_MCU_ESP8266
lib_deps =
${common.lib_deps}
[env:esp32]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
build_flags =
-DDIGITRANSIT_DISPLAY=${common.display}
-DDIGITRANSIT_DISPLAY_ADDRESS=${common.display_address}
-DNODE_MCU_ESP32
lib_deps =
${common.lib_deps}