The document is an educational sheet from the High Institute of Engineering & Technology that introduces basic concepts of hardware programming using the PIC16f877A microcontroller. It includes questions and programming tasks related to embedded systems, microcontrollers, and C programming for controlling LED and port operations. The document is intended for students studying microcontroller applications under the guidance of Dr. Abdelkarim Ibrahim and Eng. Shaimaa Abo Khadraa.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
6 views1 page
sheet1_ microcontroller
The document is an educational sheet from the High Institute of Engineering & Technology that introduces basic concepts of hardware programming using the PIC16f877A microcontroller. It includes questions and programming tasks related to embedded systems, microcontrollers, and C programming for controlling LED and port operations. The document is intended for students studying microcontroller applications under the guidance of Dr. Abdelkarim Ibrahim and Eng. Shaimaa Abo Khadraa.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
وزراه التعليم العالي
المعهد العالي للهندسة والتكنولوجيا بالمحلة الكبري
High institute of Engineering &Technology ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
Sheet 1
Basic introduction to hardware
programing using PIC16f877A
1. What is the meant by embedded system?
2. What is the difference between Microcontroller and IC? 3. Write a c program to turn on/off a LED connected on RB0 for 200 times. 4. Write a c program to send values from 00-FF to port B. 5. Write a C program to toggle all bits of Port B continuously. 6. Write a C program to send values of -4 to +4 to Port B. 7. Write a C program to toggle all bits of Port B 50,000 times. 8. Write a C program to toggle all bits of Port B 100,000 times. 9. Write a C program to toggle all the bits of Port B ports continuously with a 250ms delay. 10. Write a C program to toggle all the bits of Port C and Port D continuously with a 250ms delay.