adafruit / adafruit/CircuitPython_NAU7802

Revamp API

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
14
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Instead of passing integers, which are then looked up as constants with a particular name, it would be better to pass in the actual constants, and type-check them as necessary.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the current driver API and how its integer arguments are mapped to named constants. Define the intended constant-based interface and its type-checking behavior, then verify that existing API usage and driver behavior remain covered after the redesign.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.