ahhhhhh, i have done the most newbie mistake in the world ![]()
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.