Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify Error Message for PWM Support #56

Open
beyazkemal opened this issue Jun 27, 2024 · 0 comments
Open

Clarify Error Message for PWM Support #56

beyazkemal opened this issue Jun 27, 2024 · 0 comments

Comments

@beyazkemal
Copy link

Hello,
I’ve been using the this library and recently encountered an issue related to PWM functionality. The current error message “pwm is not supported via sysfs” can be misleading for users, implying that PWM support is present but not through sysfs, whereas in reality, PWM functionality has not been implemented yet.

return p.wrap(errors.New("pwm is not supported via sysfs"))

I suggest revising this error message to something like “PWM functionality not implemented within the periph library” to provide clearer guidance to users encountering this issue. This adjustment would help prevent confusion and better inform users about the current status of PWM support within the library.

Thank you for considering this suggestion. I appreciate your efforts in maintaining and improving the library.

Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant