Presentation is loading. Please wait.

Presentation is loading. Please wait.

Unit 9 – “A BIG State Machine”. Introduction New Topics Nested Case Structures Reusable Code.

Similar presentations


Presentation on theme: "Unit 9 – “A BIG State Machine”. Introduction New Topics Nested Case Structures Reusable Code."— Presentation transcript:

1 Unit 9 – “A BIG State Machine”

2 Introduction New Topics Nested Case Structures Reusable Code

3 Nested Case Structures A nested case structure is when you have a case structure within a case structure This helps when dealing with multiple components such as sensors

4 Reusable Code Reusing code will help cut down the time it takes you to program and the length of your program In the state diagram shown we can see that the Stop Motor state can be reused multiple times.

5 Transitory States States which go immediately from one state to the next


Download ppt "Unit 9 – “A BIG State Machine”. Introduction New Topics Nested Case Structures Reusable Code."

Similar presentations


Ads by Google