/
StopEverythingFromError
StopEverythingFromError
Purpose
Stop the execution of the CrcDuino with an error code and error tune.
When to use
When you want to catch a programming error.
Where to use
Inside the loop function, when an unexpected event has occured.
Returns
Never returns, goes on and on and on, for ever and ever, at vitam æternam.
Main prototype and parameters
void CrcLib::StopEverythingFromError(const Note notes[], const ColorDuration colors[])
The following parameters must be passed to the function for it to work properly:
A sequence of notes to play repeatedly (use it to distinguish from other errors)
A sequence of colors to display repeatedly
Overloads
This function does not have any overloads. It can only be used as described by the main prototype.
Examples
Related articles
, multiple selections available,
Related content
StopEverythingFromError {FR}
StopEverythingFromError {FR}
More like this
PlayTune
PlayTune
More like this
PlayTune {FR}
PlayTune {FR}
More like this
Note
More like this
Initialize()
Initialize()
More like this
Update()
Update()
More like this