-
Notifications
You must be signed in to change notification settings - Fork 152
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
Put all GPIO defines in gpio_bitaxe.h #566
base: master
Are you sure you want to change the base?
Conversation
.channel = LEDC_CHANNEL_3, | ||
.timer_sel = LEDC_TIMER_0, | ||
.intr_type = LEDC_INTR_DISABLE, | ||
.gpio_num = 38, // Define the output GPIO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pins 38, 39 and 40 were not configured, so I figured this file was both unused and broken.
Better suggestion for the filename are welcome. Naming things is still one of the hardest problems in CS. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, will wait for LVGL before we move ahead.
please resolve conflicts |
Conflicts resolved |
@@ -0,0 +1,11 @@ | |||
#ifndef GPIO_BITAXE_H_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only comment is that it feels backwards that components would depend on a header in the app (main).
Fixes #547