15MiConroy / CIS434_Spring2019_G1

Project for Cleveland State University's CIS 434 course
0 stars 0 forks source link

Make state-switching extensible in light #13

Closed alexdarling closed 5 years ago

alexdarling commented 5 years ago

Problems:

Proposed Solution:

alexdarling commented 5 years ago

Consolidated the way to change states in 6037b28 and b8ae84b.

alexdarling commented 5 years ago

From 59c8872:

It still needs some hardcoding -- the state & lastState attribute determines the next light behavior and the state attribute determines the behavior of 1 light from now. We should consider basing this on user input in the future.

alexdarling commented 5 years ago

This is now good enough to get us to the North-South / East-West traffic setup. Closing this issue as we move on to work on pressure plate detection.