Answer the question
In order to leave comments, you need to log in
How to turn on the LED in Arduino when an analog value is greater than (0-1024) 500 for 5 seconds?
How to turn on the LED in Arduino when an analog value is greater than (0-1024) 500 for 5 seconds?
Answer the question
In order to leave comments, you need to log in
There are 4 general recommendations:
1. Use ES 6 Luke!
2. Check incoming arguments.
3. Don't do pasta code:
Binding to an event separately, function - separately.
4. Divide code into classes. SOLID, all bullshit.
For me, it’s very decently written, and everyone else has their own development experience. Personally, it was not difficult for me to read. For convenience, add a few screenshots to make it clear what I'm talking about.
commentators above - find fault
with the code - there is nothing to evaluate here. generally.
a set of standard jquery api calls
Given the simplicity of the question in my opinion, someone is trying to do their homework.
This is a program for 4 operators.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question