I want to turn on 2 bulbs using 2 MOSFETs. The problem is that they both turn on when it should turn up just one light.
Code:
void setup() {
pinMode(13, OUTPUT);
pinMode(7, OUTPUT);
}
void loop() {
digitalWrite(13,1);
digitalWrite(13,0);
}
See circuit below: