Question: In Figure, if VM > 12 V, turn an LED ON connected to bit 3 of port A. If VM < 11="" v,="" turn="" the="" led="" off.="" using="" ports,="" registers,="" and="" memory="" locations="" as="" needed="" and="" int0="">
(a) Draw a neat block diagram showing the PIC18F4321 microcontroller and the connections to ports in the diagram in Figure.
(b) Write the main program and the service routine in C language. The main program will initialize the ports and wait for an interrupt. The service routine will accomplish the task and stop.