Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Jul 12, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.2)

Can you help keep this open source service alive? 💖 Please sponsor : )

This PR enhances the Wire library to support std::function–based callbacks for I2C slave mode, enabling the use of lambdas and captured contexts. - Replaces raw function pointers in TwoWire and HardwareI2C with std::function for onRequest and onReceive - Updates constructors, method signatures, and default initializations to use std::function - Adds new example sketch, CI config, and documentation updates demonstrating the functional callback API
@pull pull bot locked and limited conversation to collaborators Jul 12, 2025
@pull pull bot added the ⤵️ pull label Jul 12, 2025
@pull pull bot merged commit 0a45a06 into benjivesterby:master Jul 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

1 participant