StateMachine

StateMachine - time , alarmTime Clock Inputs: setTime() ,...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Alarm Clock State Machine Alarm off Alarm on Snoozing Buzzing alarmOn() alarmOff() when(alarmTime) alarmOff() snooze() after(9 minutes) alarmOff() Clock State:  
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: time , alarmTime Clock Inputs: setTime() , setAlarmTime() , alarmOn() , alarmOff() , snooze()...
View Full Document

Ask a homework question - tutors are online