t-beam supreme: PMU and i2c fixes

Fixed i2c (Wire) init issue by defining pins in platformio
Added an i2c scanning function for debug
Corrected the pmu power up sequence
Цей коміт міститься в:
cod3doomy
2025-05-17 22:01:13 -07:00
джерело 9048142f63
коміт ee41d6e2d3
3 змінених файлів з 117 додано та 42 видалено
+2
Переглянути файл
@@ -6,6 +6,8 @@ build_flags =
-I variants/lilygo_tbeam_supreme_SX1262
-D LORA_TX_POWER=22
-D P_LORA_TX_LED=6
-D PIN_BOARD_SDA=17
-D PIN_BOARD_SCL=18
-D RADIO_CLASS=CustomSX1262
-D WRAPPER_CLASS=CustomSX1262Wrapper
;-D DISPLAY_CLASS=SSD1306Display ;Needs to be modified for SH1106