I have tried to change USBasp leds functions that the green led would light on when reading (flash, eeprom, fuses) and the red led when writting. I have modified main.c file:
Code: Select all
uchar usbFunctionRead(uchar *data, uchar len) {
ledGreenOn();
..........
ledGreenOff();
return len;
}
Unfortunately it only works when working with flash memory. Any suggestions?