Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by prosenjit.calcutta

  1. P

    [General] 7 State RGB LED using PWM of 89s52

    i am only able to control pwm_width. That will be apply on all three ports. In the loop i want to turn-off any required port like: for (i=0;i<=255;i++) { pwm_width=i P0^1=0; P0^2=0; delay(X); } But it's not happening. If i do so, all three ports act respect to pwm_width...
  2. P

    [General] 7 State RGB LED using PWM of 89s52

    I am planning to use a switch input for switch - case. Case1: PWM o/p only comes from port 0. port 1 and port 2 will be 0v. Case2: PWM o/p pnly comes from port 1. . . . case6: PWM o/p comes from all three port.
  3. P

    [General] 7 State RGB LED using PWM of 89s52

    // pwm #include <reg51.h> sbit R = P0^0; sbit G = P0^1; sbit BL = P0^2; int j; void pwm_setup(); void DelayMs(unsigned int); unsigned char pwm_width; bit a=0; void main(void) { pwm_setup(); while(1) { for (j=0;j<=255;j++) pwm_width=j; DelayMs(100); /* I want to use total 7 case...
  4. P

    [General] is parallel task possible in 89s52

    I want to write a code for the following requirements. 3 ports for RGB LED with PWM output. 1 ports for 1 pulse/Sec. 2 switch input for PWM width +/-. 1 switch input for 7 case. I have completed that task using simple method except that 1pulse/sec. I can't understand how to define that. If I...

Part and Inventory Search

Back
Top