Reverse time - lgwagner/SpeAR GitHub Wiki

Table of Contents

Introduction

This component is provided the internal time representation of the seconds remaining to cook and converts it to a value that can be shown by the user display.

This is the time that must be converted.

The outputs represent the numeral single digits at each display location (left, middle, and right).

This macro block does all the calculations to determine the values at each digit location. In such a specification file, this technique allows for the calculations to remain separate from the behavior definitions.

Since the display is only three digits the maximum value shown to the user is 9:99. This is an improper time representation but it can be entered. Challenge - How would the system have to be changed if you wanted only proper M:SS notation?

The challenging aspect of this component was achieved in the macros section with the calculations on the digit locations. This section formalizes the associations.

The properties of this component enforce the left, middle, right digit bounds.

⚠️ **GitHub.com Fallback** ⚠️