mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Port changes
This commit is contained in:
parent
2bcd11839d
commit
3c8c2e6523
@ -130,8 +130,8 @@ src_filter = +<*> +<../drivers/stm32f429_disco>
|
||||
[env:d1mini32-lolintft24]
|
||||
platform = espressif32
|
||||
board = wemos_d1_mini32
|
||||
upload_port = COM8 ; Change to the correct port
|
||||
monitor_port = COM8 ; Change to the correct port
|
||||
upload_port = COM6 ; Change to the correct port
|
||||
monitor_port = COM6 ; Change to the correct port
|
||||
monitor_speed = 115200
|
||||
board_build.partitions = default.csv
|
||||
build_flags =
|
||||
@ -162,8 +162,8 @@ build_flags =
|
||||
[env:lolind32pro-lolintft24]
|
||||
platform = espressif32
|
||||
board = lolin_d32_pro
|
||||
upload_port = COM7 ; Change to the correct port
|
||||
monitor_port = COM7 ; Change to the correct port
|
||||
upload_port = COM8 ; Change to the correct port
|
||||
monitor_port = COM8 ; Change to the correct port
|
||||
monitor_speed = 115200
|
||||
board_build.partitions = default.csv
|
||||
build_flags =
|
||||
|
@ -90,12 +90,12 @@ void tftShowConfig(TFT_eSPI & tft)
|
||||
tftOffsetInfo(2, tftSetup.r2_x_offset, tftSetup.r2_y_offset);
|
||||
tftOffsetInfo(3, tftSetup.r3_x_offset, tftSetup.r3_y_offset);
|
||||
/* replaced by tftOffsetInfo
|
||||
if(tftSetup.r1_x_offset != 0) Serial.printf("R1 x offset = %i \n", tftSetup.r1_x_offset);
|
||||
if(tftSetup.r1_y_offset != 0) Serial.printf("R1 y offset = %i \n", tftSetup.r1_y_offset);
|
||||
if(tftSetup.r2_x_offset != 0) Serial.printf("R2 x offset = %i \n", tftSetup.r2_x_offset);
|
||||
if(tftSetup.r2_y_offset != 0) Serial.printf("R2 y offset = %i \n", tftSetup.r2_y_offset);
|
||||
if(tftSetup.r3_x_offset != 0) Serial.printf("R3 x offset = %i \n", tftSetup.r3_x_offset);
|
||||
if(tftSetup.r3_y_offset != 0) Serial.printf("R3 y offset = %i \n", tftSetup.r3_y_offset);
|
||||
// if(tftSetup.r1_x_offset != 0) Serial.printf("R1 x offset = %i \n", tftSetup.r1_x_offset);
|
||||
// if(tftSetup.r1_y_offset != 0) Serial.printf("R1 y offset = %i \n", tftSetup.r1_y_offset);
|
||||
// if(tftSetup.r2_x_offset != 0) Serial.printf("R2 x offset = %i \n", tftSetup.r2_x_offset);
|
||||
// if(tftSetup.r2_y_offset != 0) Serial.printf("R2 y offset = %i \n", tftSetup.r2_y_offset);
|
||||
// if(tftSetup.r3_x_offset != 0) Serial.printf("R3 x offset = %i \n", tftSetup.r3_x_offset);
|
||||
// if(tftSetup.r3_y_offset != 0) Serial.printf("R3 y offset = %i \n", tftSetup.r3_y_offset);
|
||||
*/
|
||||
|
||||
tftPinInfo(F("MOSI "), tftSetup.pin_tft_mosi);
|
||||
|
Loading…
x
Reference in New Issue
Block a user