delte some older files
This commit is contained in:
parent
39527b00b2
commit
f248288897
|
@ -66,7 +66,7 @@ fuse:
|
||||||
$(AVRDUDE) -p m88 -F -c usbtiny -v -v -U $(FUSES)
|
$(AVRDUDE) -p m88 -F -c usbtiny -v -v -U $(FUSES)
|
||||||
|
|
||||||
flash: $(PROJECT).hex Makefile
|
flash: $(PROJECT).hex Makefile
|
||||||
$(AVRDUDE) -p m88 -F -c usbtiny -v -v -U flash:w:$(PROJECT).hex
|
$(AVRDUDE) -p m88 -F -c usbtiny -B 1 -U flash:w:$(PROJECT).hex
|
||||||
|
|
||||||
fljohn: $(PROJECT).hex Makefile
|
fljohn: $(PROJECT).hex Makefile
|
||||||
$(AVRDUDE) -p m88 -F -P /dev/serial/by-id/usb-FTDI_USB__-__Serial-if00-port0 -c stk500v2 -v -v -U flash:w:$(PROJECT).hex
|
$(AVRDUDE) -p m88 -F -P /dev/serial/by-id/usb-FTDI_USB__-__Serial-if00-port0 -c stk500v2 -v -v -U flash:w:$(PROJECT).hex
|
||||||
|
|
|
@ -135,14 +135,13 @@ void button_clear(uint8_t button) {
|
||||||
|
|
||||||
void stateswitch(uint8_t i) {
|
void stateswitch(uint8_t i) {
|
||||||
switch (btnstates[i]) {
|
switch (btnstates[i]) {
|
||||||
case BTNST_NTRL:
|
case BTNST_NTRL: //NEUTRAL
|
||||||
if (curinput & (1 << i)) { //button down
|
if (curinput & (1 << i)) { //button down
|
||||||
btncounters[i] = 0;
|
btncounters[i] = 0;
|
||||||
btnstates[i] = BTNST_DBNC;
|
btnstates[i] = BTNST_DBNC;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
//intermediate state, check if button is still pressed to debounce
|
case BTNST_DBNC: //intermediate state, check if button is still pressed to debounce
|
||||||
case BTNST_DBNC:
|
|
||||||
btnstates[i] = (curinput & (1 << i)) ? BTNST_SDN : BTNST_NTRL;
|
btnstates[i] = (curinput & (1 << i)) ? BTNST_SDN : BTNST_NTRL;
|
||||||
(btncounters[i])++;
|
(btncounters[i])++;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -62,14 +62,22 @@ clean:
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
#fuse:
|
||||||
|
# $(AVRDUDE) -p m88 -F -c usbtiny -v -v -U $(FUSES)
|
||||||
|
|
||||||
fuse:
|
fuse:
|
||||||
$(AVRDUDE) -p m88 -F -c usbtiny -v -v -U $(FUSES)
|
$(AVRDUDE) -p m88 -F -P /dev/ttyUSB0 -c stk500v2 -v -v -U $(FUSES)
|
||||||
|
|
||||||
|
|
||||||
|
#flash: $(PROJECT).hex Makefile
|
||||||
|
# $(AVRDUDE) -p m88 -F -c usbtiny -v -v -U flash:w:$(PROJECT).hex
|
||||||
|
|
||||||
|
fljohflsmart: $(PROJECT).hex Makefile
|
||||||
|
$(AVRDUDE) -p m88 -F -P /dev/ttyUSB0 -c stk500v2 -v -v -U flash:w:$(PROJECT).hexn: $(PROJECT).hex Makefile
|
||||||
|
$(AVRDUDE) -p m88 -F -P /dev/serial/by-id/usb-FTDI_USB__-__Serial-if00-port0 -c stk500v2 -v -v -U flash:w:$(PROJECT).hex
|
||||||
|
|
||||||
flash: $(PROJECT).hex Makefile
|
flash: $(PROJECT).hex Makefile
|
||||||
$(AVRDUDE) -p m88 -F -c usbtiny -v -v -U flash:w:$(PROJECT).hex
|
$(AVRDUDE) -p m88 -F -P /dev/ttyUSB0 -c stk500v2 -v -v -U flash:w:$(PROJECT).hex
|
||||||
|
|
||||||
fljohn: $(PROJECT).hex Makefile
|
|
||||||
$(AVRDUDE) -p m88 -F -P /dev/serial/by-id/usb-FTDI_USB__-__Serial-if00-port0 -c stk500v2 -v -v -U flash:w:$(PROJECT).hex
|
|
||||||
|
|
||||||
.PHONY : clean all fuse flash fljohn
|
.PHONY : clean all fuse flash fljohn
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user