Activity › Forums › Questions & Troubleshooting › Software & Firmware › Is there something wrong with my Controllino? › Reply To: Is there something wrong with my Controllino?
-
I copy/pased old code with a bug… This two part were fixed…
// put your setup code here, to run once:
pinMode(outputPin, OUTPUT);
pinMode(CONTROLLINO_AO1, OUTPUT);
pinMode(testPin, INPUT);
analogWrite(outputPin, 1);
analogWrite(CONTROLLINO_AO1, 1);
And
// put your setup code here, to run once:
pinMode(outputPin, OUTPUT);
pinMode(13, OUTPUT);
pinMode(testPin, INPUT);
analogWrite(outputPin, 1);
analogWrite(13, 1);