Pedestrian traffic light
0 Stars     26 Views    

Author: SOFIA RIBEIRO DE SANTANA

Project access type: Public

Description:

This project simulates a pedestrian traffic light based the state of the main traffic light:

  • When the traffic light is red, it is represented as 00 
  • When it is yellow, it is represented as 10
  • When it is green, it is represented as 11

Based on this, it is possible to determine the next state of the pedestrian traffic light (red or green) only taking into account the most significant bit of the main traffic light representation. 

Created: May 22, 2024

Updated: May 22, 2024


Comments

You must login before you can post a comment.