Different output between Arduino Mini 05 and Arduino Mega 2560

ahhhhhh, i have done the most newbie mistake in the world :slight_smile:
i've assumed the pin7 was a pwm pin. Accordingly to the Mini description, the pwm pins are: 3, 5, 6, 9, 10, 11
don't ask me why the designer didn't put pwm pins consecutively...
now everything is working fine. thanks anyway.