What does the !adc.Start() record mean? And what is meant by the term "timeout" for the ADC? This parameter is set by adc.Timeout . And why is it necessary to understand.
|
1 answer
!adc.Start()
An expression that returns true if the adc.Start method returns false , and true if this method returns false .
The timeout is the time during which it is expected to expect the completion of some operation. For example, waiting for a response from the server. If the server did not respond during the timeout specified, an exception is thrown.
- Only ADC is not a server, but a device. And if before the expiration of the timeout you did not get the result, then something does not work. And the program should do something about it. - alexlz
|