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

Default GPIO pin state should be set during soft reset, not gpio acquire #256

Closed
Arke64 opened this Issue Apr 5, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@Arke64
Member

Arke64 commented Apr 5, 2018

Currently when you open the GPIO controller, it resets all pins. So if you had opened LCD, ADC, or anything else before GpioController.GetDefault(), their state will get corrupt. Work around for now is to init GPIO first thing.

@Arke64 Arke64 added the bug label Apr 5, 2018

@Arke64 Arke64 added this to the v0.11.0 milestone Apr 5, 2018

@Arke64

This comment has been minimized.

Show comment
Hide comment
@Arke64

Arke64 Apr 5, 2018

Member

Review whether or not we still need NO_INIT after this.

Member

Arke64 commented Apr 5, 2018

Review whether or not we still need NO_INIT after this.

@Palomino34 Palomino34 assigned Palomino34 and unassigned JoelGHI Apr 6, 2018

@Arke64 Arke64 closed this in f55f38e Apr 9, 2018

@Arke64 Arke64 referenced this issue Apr 9, 2018

Closed

Remove NO_INIT #271

Arke64 added a commit that referenced this issue Sep 26, 2018

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