New answers tagged

0 votes

How to power Arduino Uno from L298N motor driver's 5v terminal?

I was facing same problem but I solved it by attaching L298 power pins to icsp power pins
user avatar
1 vote

How to toggle a pin (LED) simply

To toggle a pin, just read the pjn and invert the value: #define LEDPIN 2 void loop() { digitalWrite(LEDPIN, !digitalRead(LEDPIN)); } You can also just "remember" the last value: #...
user avatar

Top 50 recent answers are included