Yes, the pin label D12 PWM on the Sanguinololu is wrong, it should be D4. And using (D)4 for a PWM output pin and (A)4 (=D28) for an analog input pin sounds indeed strange, but it should work.
↧