Hey,
I have an issue where the arduino Uno Wifi Rev 2 board is not communicating with a motor shield. The shield is not broken as it works perfectly with a normal Uno, but for example when I try to run the following code:
const int PWM1 = 3;
const int DIR1 = 12;
const int BRK1 = 9;
void setup(){
Serial.begin(9600);
pinMode(PWM1,OUTPUT);
pinMode(DIR1,OUTPUT);
pinMode(BRK1,OUTPUT);
}
void loop(){
digitalWrite(BRK1,LOW);
digitalWrite(DIR1,LOW);
digitalWrite(PWM1,HIGH);
delay(250);
}
then nothing happens.
Thanks for any help.