circuit diagram-

code-

 

Comments