• Generation of PWM using Extrenal Interrupts and Timers
    Hi everybody, I'm a beginner trying to generate a PWM wave on a C8051F330 micro controller using C programming language. I have many doubts regarding this exercise. It would be really helpful if...
  • using LPC2119 : PWM, Timers, and external interrupts.
    I'm working on a system, where I have: 3 switches, 2 led's, and a motor (set PWM single edge)Note: the motor is replaced with 2 LEDs on PWM1 and PWM3(configured on P0.0 and P0.1). When the switch on...
  • Scope of #pragma
    If I declare: #pragma optimize(0) void func1(void) ... void func2(void) ... void func3(void) ... Does this apply only for func1 or for all subsequent functions (i.e. func2,func3,etc)?...
  • scope of label
    Is a label local or global? For instance, two functions aa1() and aa2() are in file aa. A label L is placed in aa1(). Another function bb() is located in bb file. Which function(s) can access the label...
  • Out of Scope
    Hi When I debug my codes, and I used to watch the variables and sometime it says 'out of scope'. I could not find it in my manual. Can anyone kindly please explain what is out of scope? Thank...