Skip to content

Demonstration of statecharts using a digital watch.

License

Notifications You must be signed in to change notification settings

SanneMarx/digital-watch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Watch

Demonstration of embedded application development using statecharts, with a digital watch as example. The example is based on the digital watch described in Harel’s paper, the Citizen Multi Alarm III

MG 9854
Figure 1. Citizen Mutli Alarm III

The application uses an MVP design pattern, with the Presenter implement using statecharts and action functions. The View implemented using both Kivy and GTK+, selectable at run-time.

screenshot
Figure 2. GTK+ UI
screenshot kivy
Figure 3. Kivy UI

Dependencies

Requires:

  • GTK+ / Kivy

  • GStreamer

  • Sismic

Usage

python3 -m watch [gtk|kivy]

Statechart

Watch

watch

Displays

displays

Time Update

update

Alarm Update

update1

About

Demonstration of statecharts using a digital watch.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%