arduino / node_modulino_firmware

Mozilla Public License 2.0
1 stars 0 forks source link

Allow configuration of the Wire object to use #8

Closed alranel closed 7 months ago

alranel commented 7 months ago

As the Modulinos are not intended to work just with UNO R4, it would be important to tweak the API to allow selection of Wire object.

Example, following a common pattern:

void setup() {
   Modulino.begin(Wire2);
}

We can still keep Wire1 as the default option when no argument is specified.