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

Add CONFIG_LED_PIN and CONFIG_BUTTON_PIN in main.c #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gius-8
Copy link

@Gius-8 Gius-8 commented Sep 19, 2018

No description provided.

@aureq
Copy link

aureq commented Jan 24, 2019

@Gius-8 Unless I'm mistaken, your pull request shouldn't be necessary. When compiling the project, you should do make menuconfig. You will find a section named Example Configuration in which you can configure the BUTTON_PIN and LED_PIN. These will be defined as CONFIG_BUTTON_PIN and CONFIG_LED_PIN in your code.

Have a look at 07_gpio_interrupts/main/Kconfig.projbuild, as this is where it's all defined. This is part of the esp-idf framework.

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