• Altering blinky?
    Hey people. I'm quite new to this microprocessor business and i'm having a problem. I'm currently using the MCBSTM32 kit with the cortex M3 and i'm looking at the example blinky. In the program i...
  • Global variable for signal functions
    I want to simulate an external pulse arriving to an input pin on my LPC1778 using Keil. I have written the following code: SIGNAL void GPIO_Test_Pulse (void) { int j; PORT4 = 0x0; while ...
  • Issues Related to Function Decleration
    I have encountered some problems while writing the code for 8051 microcontroller, Can you explain me the following issues: 1- Compiler issued an error when i pass the value to function by referece...
  • Global Variable.
    In my project I have two files. as follows File A int x; main() { x=2; } File B extern int x; { x=4; } When I compile both files independatly, there is no error. When I link both modules...
  • Global variable
    In my project I am using four source code files. There is one variable, which is used in all four files. When I declared this variable in one file and compiled the file, the compilation was successful...