Skip to content

charkops/prex-clock-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

prex-clock-timer

Author : Kopsacheilis Charalampos

Date : 28 / 9 / 2016

This is a Real time clock-timer implemented on the Prex RTOS. This is a project for class "Embedded and Real time systems" at the Aristotele's University of Thessaloniki (AUTH), Thessaloniki - Greece

In order for this to run, we must configure Prex to run the source code as a single Real Time task (RT) at startup and nothing else. Instructions on how to compile up prex are at the end of this file.

Basic functions of our programm :

At startup only the time will be shown at the standard output in format : HH:MM:SS . This is called realTime mode. There is also a stopWatch mode, which displays the time passed since stopWatch was activated.

By pressing 't' - toggle we can switch back and forth between realTime and stopWatch mode.

#REALTIME :

By pressing 'h' in realTime mode we can increase the hour by +1.

By pressing 'm' in realTime mode we can increase the minutes by +1.

By pressing 'z' in realTime mode we can zero out the seconds.

#STOPWATCH :

By pressing 'r' in stopWatch mode we can reset the stopWatch.

By pressing 's' in stopWatch mode we can (re-)start and stop the stopWatch.

By pressing 'p' in stopWatch mode we can pause the stopWatch.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages