• port setting
    Hi, I want to use port 2 of 167 on MCB net board for two peripherals, one for keyboard interface and other for lcd interface. Please suggest some code on how to access the same port in parts. regards...
  • Setting a port bit in ASM
    I've tried a variety of methods for storing a bit address in ASM so I can subsequently SET/CLR that bit but have had no luck. Here's the pseudo-code for what I want to do: 1 - Initialize an 8-bit...
  • 8051 kit set port 1.
    hi everyone. i was trying to use port 1 pin 7 to do my assignment. there are no other pins for me to use as they are all used up on lcd, relay, keypad and leds. theres this problem when i am using...
  • Setting a Port Pin to 0 on Power ON
    I would like to set a port pin for example P1.7 to zero "0" on "Power On" condition. I would like to do it in init.a51 or startup.a51. Please let me know how to do it? I am using keil UV2.37. Compiler...
  • Setting Port Bit with ARTX
    I'm writing a library to set a Port BIT , that can be used on ARTX for xc167 . I use a function with parameters "PortAddr" and "PortBit" : *(PortAddr) |= ( 1<<PortBit ); and analog function for...