diff --git a/boards/default_src/micropython_esp32s3/origin/build/Mixgo_Sant_lib-v1.23.0.bin b/boards/default_src/micropython_esp32s3/origin/build/Mixgo_Sant_lib-v1.23.0.bin index 69e9bf9e..682699a7 100644 Binary files a/boards/default_src/micropython_esp32s3/origin/build/Mixgo_Sant_lib-v1.23.0.bin and b/boards/default_src/micropython_esp32s3/origin/build/Mixgo_Sant_lib-v1.23.0.bin differ diff --git a/boards/default_src/micropython_esp32s3/origin/build/lib/mixgo_sant.py b/boards/default_src/micropython_esp32s3/origin/build/lib/mixgo_sant.py index 8011fe23..2310c584 100644 --- a/boards/default_src/micropython_esp32s3/origin/build/lib/mixgo_sant.py +++ b/boards/default_src/micropython_esp32s3/origin/build/lib/mixgo_sant.py @@ -19,16 +19,9 @@ onboard_i2c = SoftI2C(scl=Pin(47), sda=Pin(48), freq=400000) '''SPI-onboard''' onboard_spi = SPI(1, baudrate=50000000, polarity=0, phase=0) -'''TFT/320*240''' +'''TFT/240*240''' onboard_tft = st7789_cf.ST7789(onboard_spi, 240, 240, dc_pin=40, cs_pin=None, bl_pin=None, font_address=0xE00000) -'''BOT035-Sensor''' -try : - import sant_bot - onboard_bot = sant_bot.BOT035(onboard_i2c) -except Exception as e: - print("Warning: Failed to communicate with BOT035 (Coprocessor) or",e) - '''ACC-Sensor''' try : import sc7a20 @@ -50,13 +43,6 @@ try : except Exception as e: print("Warning: Failed to communicate with GXHTC3 (THS) or",e) -'''ASR-Sensor''' -try : - import ci130x - onboard_asr = ci130x.CI130X(onboard_i2c) -except Exception as e: - print("Warning: Failed to communicate with CI130X (ASR) or",e) - '''MGS-Sensor''' try : import mmc5603 @@ -71,6 +57,20 @@ try : except Exception as e: print("Warning: Failed to communicate with SPL06-001 (BPS) or",e) +'''BOT035-Sensor''' +try : + import sant_bot + onboard_bot = sant_bot.BOT035(onboard_i2c) +except Exception as e: + print("Warning: Failed to communicate with BOT035 (Coprocessor) or",e) + +'''ASR-Sensor''' +try : + import ci130x + onboard_asr = ci130x.CI130X(onboard_i2c) +except Exception as e: + print("Warning: Failed to communicate with CI130X (ASR) or",e) + '''2RGB_WS2812''' from ws2812 import NeoPixel onboard_rgb = NeoPixel(Pin(21), 4) diff --git a/boards/default_src/micropython_esp32s3/origin/build/lib/st7789_cf.py b/boards/default_src/micropython_esp32s3/origin/build/lib/st7789_cf.py index 8d42bae6..d2cc7270 100644 --- a/boards/default_src/micropython_esp32s3/origin/build/lib/st7789_cf.py +++ b/boards/default_src/micropython_esp32s3/origin/build/lib/st7789_cf.py @@ -41,7 +41,7 @@ class ST7789(uframebuf.FrameBuffer_Uincode): self.font(font_address) self._init() self.show() - time.sleep_ms(100) + time.sleep_ms(200) self._brightness = 0.6 self.bl_led = PWM(Pin(bl_pin), duty_u16=int(self._brightness * 60000)) if bl_pin is not None else None