Pedestrian traffic light
0 Stars     3 Views    

Author: 411241019 MUHAMMAD RADHINKA FACHRI

Forked from: SOFIA RIBEIRO DE SANTANA/Pedestrian traffic light

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: Dec 17, 2024

Updated: Dec 17, 2024


Comments

You must login before you can post a comment.