Sparkfun Serial Controlled Motor Driver

If the op read the coments at sparkfun in that product page he would see that the Isense pins of the L298 are connected to the ADC pins of the atmega328p and those act as software protections when the corrent is over 1.5A, there is a new software and you can change the adc treshold so the H bridge is disconnected by the atmega and you can have you 4A.