changing USBasp leds functions
Posted: Sun Mar 22, 2009 1:02 pm
Hi,
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:
Unfortunately it only works when working with flash memory. Any suggestions?
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?