51 lines
792 B
Plaintext
51 lines
792 B
Plaintext
|
mainmenu_option next_comment
|
||
|
comment "Borg-mini port setup"
|
||
|
|
||
|
|
||
|
choice 'Row Port 1' \
|
||
|
"PORTA PORTA \
|
||
|
PORTB PORTB \
|
||
|
PORTC PORTC \
|
||
|
PORTD PORTD" \
|
||
|
'PORTD' ROWPORT1
|
||
|
|
||
|
choice 'Row Port 2' \
|
||
|
"PORTA PORTA \
|
||
|
PORTB PORTB \
|
||
|
PORTC PORTC \
|
||
|
PORTD PORTD" \
|
||
|
'PORTC' ROWPORT2
|
||
|
|
||
|
choice 'Column shiftregister Port' \
|
||
|
"PORTA PORTA \
|
||
|
PORTB PORTB \
|
||
|
PORTC PORTC \
|
||
|
PORTD PORTD" \
|
||
|
'PORTC' COLPORT
|
||
|
|
||
|
comment "pin numbers on shiftregister port"
|
||
|
|
||
|
choice 'CLK Pin' \
|
||
|
"Pin0 0 \
|
||
|
Pin1 1 \
|
||
|
Pin2 2 \
|
||
|
Pin3 3 \
|
||
|
Pin4 4 \
|
||
|
Pin5 5 \
|
||
|
Pin6 6 \
|
||
|
Pin7 7" \
|
||
|
'Pin5' PIN_CLK
|
||
|
|
||
|
choice 'DATA Pin' \
|
||
|
"Pin0 0 \
|
||
|
Pin1 1 \
|
||
|
Pin2 2 \
|
||
|
Pin3 3 \
|
||
|
Pin4 4 \
|
||
|
Pin5 5 \
|
||
|
Pin6 6 \
|
||
|
Pin7 7" \
|
||
|
'Pin4' PIN_DATA
|
||
|
|
||
|
endmenu
|