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

How to configure the 'run button' io? #3

Open
YCF opened this issue Oct 21, 2017 · 1 comment
Open

How to configure the 'run button' io? #3

YCF opened this issue Oct 21, 2017 · 1 comment
Labels

Comments

@YCF
Copy link

YCF commented Oct 21, 2017

#When to check the run button state
#start, loop, none
set(CONFIG_RUN_BUTTON "start")
set(CONFIG_RUN_BUTTON_IOPORT C)
set(CONFIG_RUN_BUTTON_BIT 1)

C=?
1=?

@nekromant
Copy link
Member

C means PORTC, 1 stands for bit 1.
See https://github.com/uISP/uHID-bootloader-avr/blob/uHID/include/uhid.h#L5

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

No branches or pull requests

2 participants