Skip to content

rename digitalio -> digital, analogio -> analog - #344

Merged
lorennorman merged 1 commit into
v2from
rename-digital-analog-io
Sep 30, 2026
Merged

lorennorman merged 1 commit into
v2from
rename-digital-analog-io

Conversation

@lorennorman

Copy link
Copy Markdown
Member

Dropping the io suffix from digital and analog component types

@tyeth

tyeth commented Sep 30, 2026

Copy link
Copy Markdown
Member

This will break the offline mode configuration tool, as it ingests existing categories. Test works-with-wippersnapper page too!

@lorennorman

Copy link
Copy Markdown
Member Author

@tyeth can you please link me to the offline tool system in question?

@tyeth

tyeth commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

I don't mind updating, but also it's barely used, plus only take me a few secs in theory.

https://github.com/adafruit/Adafruit_Wippersnapper_Offline_Configurator

https://github.com/search?q=repo%3Aadafruit%2FAdafruit_Wippersnapper_Offline_Configurator+%28digitalio+OR+analogio%29&type=code

I think the runner might automatically pick them up to be fair.

@lorennorman

Copy link
Copy Markdown
Member Author

ok yep i'm ok with this! thanks for the heads up, didn't have this on my radar.

this is the kind of code that i am also having to update in the io backend, it's redundant in a lot of places checking if it's a pin component and then checking the mode, whereas now it can just check if it's a digital component, or an analog component. so i think it's an improvement and worth making.

@lorennorman
lorennorman merged commit 0d8dbe0 into v2 Sep 30, 2026
17 checks passed
@lorennorman
lorennorman deleted the rename-digital-analog-io branch September 30, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants