My implementation for Logic project in 2nd year electrical