1 / 5

Finite State Machines Exercises

Finite State Machines Exercises. Debounce. Debounce. Fill the table according the FSM for debounce. Lock - Unlock. Codify the next SM in C:. Cabin temperature. Make the state machine for the next feature:

dory
Download Presentation

Finite State Machines Exercises

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Finite State MachinesExercises

  2. Debounce

  3. Debounce • Fill the table according the FSM for debounce

  4. Lock - Unlock • Codify the next SM in C:

  5. Cabin temperature • Make the state machine for the next feature: The feature controls temperature in the cabin of a vehicle. There are three LEDs which indicate the control state of the temperature system: a LED green, a LED red and a LED blue. At Reset, all the LEDs, the heating system and the air conditioner system are turned off. When the temperature is great than TempHigh, the air conditioner system and only the LED red are turned on. If the temperature is less than TempLow the heating system and only the LED blue are turned on. If the temperature is less than TempNormalHigh and great than TempNormalLow, heating system or air conditioner system are turned off and only the LED green is turned on. Take in count that: TempHigh > TempNormalHigh > TempNormalLow > TempLow

More Related