• Interfacing PushButton
    I want to sense when a port pin goes high. I have connected it to Vcc through a resitor and pushbutton , so when pushbutton is pressed the port pin goes high .But to configure port for input I must...
  • getting user input in Debugger
    I have written a small function as below: void checkKeyPress() { uchKeyPressed = P1; /* Read Port P1 */ uchKeyPressed = uchKeyPressed & 0x18; /* mask with 0x18 to check for P1.3 & P1.4 */ } ...
  • getting user input in Debugger
    I have written a small function as below: void checkKeyPress() { uchKeyPressed = P1; /* Read Port P1 */ uchKeyPressed = uchKeyPressed & 0x18; /* mask with 0x18 to check for P1.3 & P1.4 */ } /*...
  • How To Write an Input to Get Output
    Hi, I am a newbie here and currently learning how to use uvision software. My problem is I can see the output result of my program on UART window. What I can't do is to input something into a window...
  • Receiving then transmitting from keyboard input
    I have this code that needs modifying to be able to accept a keyboard input and then transmit to serial window UART #1, 2 or 3 by creating a loop that receives from UART 1 then Transmit to UART 1. I...