Added hardware test in examples folder, fixed bug by making _previousMillis an unsinged long