Hi! Please be kind. First post.
Eqmt:. UNO, MEGA1280, Omega MP ISP Programmer, homemade Arduino AVR High-Voltage Serial Programmer shield
Sketches: modified Debounce_Encoder_by_Rafbuff_pde, AVR High-voltage Serial Programmer ino
I want to use an ATtiny85 to decode a rotary encoder AND debounce its pushbutton. Two pins for encoder input, two pins for encoder output ( increment & decrement ) and two pins for push button ( input & output ), all on a 20mm x 15mm pcb. Programming is EASY. Sorry for shouting. There is no end to how to restore the subject fuse advice or going full AVRDUDE and commercial HV programmer.
Can
Serial.println("Writing hfuse");
shiftOut2(DATAOUT, INSTOUT, CLKOUT, MSBFIRST, 0x40, 0x4C);
shiftOut2(DATAOUT, INSTOUT, CLKOUT, MSBFIRST, HFUSE, 0x2C);
shiftOut2(DATAOUT, INSTOUT, CLKOUT, MSBFIRST, 0x00, 0x74);
shiftOut2(DATAOUT, INSTOUT, CLKOUT, MSBFIRST, 0x00, 0x7C);
be rewritten to change the high fuse from 0xDF to 0xFF? Or does the above code push a return to factory default "push button"? Because the value "DF" does not appear, I am wondering if this is machine code to pass instructions rather than passing a value.
Prior supplicants never say how they accidentally disabled the reset function. Can this be done accidentally without erasing the installed program?
Hugh