PIC18F4520: Digital Outputs

From Mech
Jump to navigationJump to search

Available Pins

With the exception of the positive voltage supply and ground pins, all pins on the PIC18F4520 can be used as digital I/O, however a few other pins (shown in grey below) are commonly utilized for communication instead of digital I/O.

4520pindiagramdigital.jpg

Digital Outputs Example

Sample Code

Circuit Diagram

Digital Output Ports Example

Sample Code

Circuit Diagram