Overview

Pins as outputs


Students completing the module will be able to:

    • define the pins of a microcontroller parallel port as inputs or outputs by using commands in C language
    • send a binary word to a parallel port that has been defined as output
    • connect LEDs to the pins of a microcontroller
    • write a program in C Language to turn ON/OFF LEDs that are connected to the pins of a microcontroller
    • load and animate a microcontroller program in the Proteus Design Suite




Τhe duration of this module is 3 hours


Tip1Some devices have polarity, for instance the LED, they must be connected in the right way.
Tip2. The program must include the main.h and the 18F4550.h files. These files must be in the same folder with your project

Last modified: Saturday, 20 November 2021, 10:04 PM