(Note: Your Web browser must have Java enabled in order to see this SMC demo. Also make sure that you have your computer's sound turned on otherwise you will miss the demo's point.)
Instructions on how to use a telephone:
- Pick up the receiver.
Dial the desired telephone number. Try some of
the following telephone numbers:
- Dial a "#" or a "*"
- When you have completed the call, put the receiver down. If you don't put down the receiver after the call has finished, a "receiver left off hook" alarm will sound.
Finite State Machine Log
As you make your telephone calls, watch the FSM log. This text area displays the FSM's current state, transitions and what actions are executing (both transition actions and a state Entry/Exit actions). This FSM log shows how the telephone is reacting to your inputs. You can learn how SMC-generated FSMs work by stepping through the logging messages as you look at the telephone FSMs: CallMap and PhoneNumber. (The source code is Telephone.sm .)