QUAD MOTOR - OPEN SMART
#include <Adafruit_PCF8574.h> /* Example for 1 output LED that is connected from power to the GPIO expander pin #7 * Note the LEDs must be connected with the CATHODES to the expander, to SINK current! * The PCF8574 cannot SOURCE current! P0 = AIN1 P1 = AIN2 P2 = BIN1 P3 = BIN2 P4 = CIN1 P5 = CIN2 P6 = DIN1 P7 = DIN2 MOTOR DELANT IZQUIER = MOTOR A MOTOR DELANT DERECHO = MOTOR B MOTOR TRASERO IZQUIER = MOTOR C MOTOR TRASERO DERECHO = MOTOR D MOTOR A MOTOR B MOTOR C MOTOR D */ Adafruit_PCF8574 pcf; #define PIN_PWMA 3 #define PIN_PWMB 5 #define PIN_PWMC 6 #define PIN_PWMD 11 uint8_t speed0 = 150 ; void setup () { while ( !Serial ) { delay ( 10 ) ; } Serial . begin ( 9600 ) ; Serial . println ( "Adafruit PCF8574 LED blink test" ) ; if ( ! pcf . begin ( 0x 2...