Sending to void loop() {
Posted: Fri Jun 18, 2021 5:01 am
Greetings! I need a non-standard solution. It is necessary to process the function with the following arguments in the loop digitalWrite(32, LOW);
But don't just stupidly to insert it into a permanent loop (). I want to send there by condition, so that it runs on the command from void setup () for example:
That is, the else condition worked, then the action "B"spun in the magnifier. If the condition "A" is triggered, nothing is sent to the magnifier. Is there an example of how to implement this?
But don't just stupidly to insert it into a permanent loop (). I want to send there by condition, so that it runs on the command from void setup () for example:
- if
- (uav...blah...blah)
- {
- //action "A"
- }
- else
- {
- //action "B" - to send the function to loop for processing
- }