arduino / arduino/ArduinoCore-samd

`TwoWire` is in the `arduino::` namespace

Open
#738 0 comments 0 reactions 0 assignees View on GitHub
api bug Component: Wire
Dominant language
C
Stars
502
Forks
740
PR merge metrics
No merged PRs in 30d

Description

This is not the case for any other ArduinoCore and is reducing code portability.

Please remove TwoWire from the `arduino::` namespace.

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the core sources for the TwoWire declaration and its arduino namespace. Compare the corresponding declarations in other ArduinoCore implementations, then build the SAMD21 core to verify that TwoWire is available without the namespace and that existing code still compiles.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.