I am trying to upload my program to atmega32U4 via ISP header,
using Arduino IDE by selecting Arduino LEONARDO board
but it shows device signature mismatch
I tested my ISP programmer with the actual Arduino LEONARDO and it worked.
I am using Arduino NANO as an ISP programmer
how to solve this?