uISP / uHID-bootloader-avr

the uISP bootloader, loosely based on bootloadHID
7 stars 2 forks source link

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

Open YCF opened 6 years ago

YCF commented 6 years ago

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 commented 6 years ago

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