Register now or log in to join your professional community.
No arduino cannot read or wtite during delay. But if you are using internal internal functions then arduino can read and write any time
No you can't
While delay() function you can't do any thing except reading interrupt function
You can use millis() with various methods to make delay without halt processing
As far as I know , Arduino Can't do that, and if you want to do something similar but it will still consider the full delay period, it is done by using interrupt
u can use such a thing only in FPGA where parallel computing is involved,,, that's as far as I know
Regards
No arduino can not read or do other thing while execution od delay(). But you ca nset dealy with calculaton of the thing you want to doo and add other delay by the delay() and in total you got total delay plus your work also done.
No, the delay is causing the arduino to wait until the specified time is finished, if you need to do something while waiting it better to create your own interrupt for the delay.
No, the delay function is used to give some time for the actuators or devices to give the required output, during the delay funtion the whole program pauses and nothing can be read unless there is an interrupt function in the program.
No, the Arduino microcontroller executes the code line by line ( step by step ) when the Arduino at step delay(), will execute the delay only.
there are some microcontroller boards that have the ability to perform the parallel execution for the programming code that let you execute all the code at once like FPGA.
Yes , sometimes its a must to have some delay in order to read or write something via serial or analogue accurately