From 10abc9d50253d9e8f55fadf9a39ad234fb89d8ef Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 13 Jan 2026 05:54:15 +0000 Subject: [PATCH] feat: Add Promise-based API This change introduces a new set of Promise-based methods to the i2c class, allowing for the use of async/await. The existing callback-based API is preserved for backward compatibility. The new methods are created using util.promisify and are named with an "Async" suffix (e.g., `scanAsync`). The `examples/blinkm/blinkm.js` file has been updated to demonstrate the usage of the new async/await API.