added digitalread & hardwaretest calls