VTech Alphabert s Magic Readport User Manual Page 12

  • Download
  • Add to my manuals
  • Print
  • Page
    / 80
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 11
Lab Manual of Microcontroller & Interfacing Page 12
C. Write C language program to read port P1, Compare content of port P1with data 80h. If
data at port P1 is greater than 80h, make port P0=0x00 and if data at port P1 is less than
or equal to 80h, make port P0=0xFF.
D. Write a program to sense lift door switch connected at port pin P2.0. Switch on the alarm
connected at port pin P2.1 if lift door is open. Write program in assembly and C language.
Page view 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 79 80

Comments to this Manuals

No comments