6 Link: http://rover.piffa.net
16 //////////////////////
21 // Gestione di un singolo motore
25 byte min; // Minimo per partire
29 Engine (byte PIN1, byte PIN2, byte PINPWM);
32 void SetSpeed (); // imposta un valore preciso per il PWM
37 // classe composta da due engines
38 // Composition is better than inheritance here
41 motors (engine enginesx, engine enginedx) {
49 //////////////////////