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

PWM - definiowanie "aktywny stanem niskim/wysokim" #96

Open
Hrumque opened this issue Dec 17, 2022 · 0 comments
Open

PWM - definiowanie "aktywny stanem niskim/wysokim" #96

Hrumque opened this issue Dec 17, 2022 · 0 comments

Comments

@Hrumque
Copy link

Hrumque commented Dec 17, 2022

Dla wyjść PWM brakuje trochę definicji - czy stan "włączony" to stan wysoki, czy niski (jak dla przekaźnika).
Gdy na wyjściu ESP jest klasyczny mosfet czy NPN w trybie OC - to ok, ale czasem sterujemy inaczej (np choćby led wprost do portu, od Vcc) - wtedy stan załączony = stan niski, 100% wypełnienia PWM powinno dawać 100% jasności - a daje zero ...
Jakby było problemem definiowanie stanu (negacja wyjść pwm) - to wystarczy odwracać samo sterowanie pwm

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

No branches or pull requests

1 participant