Skip to content

Detect presence of DLight during initialization#10

Open
Xorlent wants to merge 9 commits into
m5stack:masterfrom
Xorlent:master
Open

Detect presence of DLight during initialization#10
Xorlent wants to merge 9 commits into
m5stack:masterfrom
Xorlent:master

Conversation

@Xorlent

@Xorlent Xorlent commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Addressing Issue 7:

  1. begin()now returns aboolthat indicates whether the device acknowledged thePOWER_ON` command on the configured I2C address.
  • true: a device acknowledged at the configured address, which is treated as sensor present.
  • false: no device acknowledged at the configured address.
  1. Examples and documentation updated.
  2. Code has been tested on ESP32S3 and ESP32-WROOM boards.

Important

I do not have the M5Stack hardware needed to test and validate the updated examples. If someone with the hardware could kindly test and ensure they function properly prior to merging, I would appreciate it.

@leoaudebert-svg

Copy link
Copy Markdown

I have a few M5 Atoms (S3R and Lite). Is it of interest for you to test since they are ESP32S3 based ? If yes, I will.

@Xorlent

Xorlent commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

Hi @leoaudebert-svg thank you for the offer. My biggest concern is the display code in the examples. If you have one of the example devices with a display to test, that would be a big help.

Thanks.

@imliubo
imliubo requested a review from LuoIsHere July 16, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants