Robo Pro Program and Results
Meanwhile, the core program checks i1 and i2 inputs and converts the 2 bits into 4 cases.
This is just the reverse decoding chart of the coding chart shown on Arduino Program. |
i1=0 i2=0 case=0 no light
i1=0 i2=1 case=1 light m1=blue i1=1 i2=0 case=2 light m2=red i1=1 i2=1 case=3 light m3=white |
Each colour is dully recognised.
During the tests I conducted, colours were always identified rightly. |