Returns whether the library detected an error communicating with the VFD.
vfd: a variable of the type Ncr4X20Vfd.
Returns true if an error occurred since the last time getError() was called. Note that this can only detect whether a timeout occurred trying to communicate with the display. It can not detect all possible communication errors.
See UnitTests example.