All About Circuits Forum  

Go Back   All About Circuits Forum > Software, Microcomputing, and Communications Forums > Embedded Systems and Microcontrollers

Notices

Embedded Systems and Microcontrollers Discussion forum for projects and working with embedded systems and microcontrollers (FPGAs, PICs, AVRs). Get help with hardware issues and embedded programming.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 04-29-2012, 05:58 AM
ayu_ayfa ayu_ayfa is offline
Junior Member
 
Join Date: Sep 2011
Posts: 14
Default set_power_pwm_override...help!!!

how to determine the condition for this function currently i am using this coding

case 0:{
set_power_pwm_override(1,true,0);
set_power_pwm_override(0,false,1);
set_power_pwm_override(2,true,0);
set_power_pwm_override(3,false,1);
set_power_pwm_override(5,true,0);
set_power_pwm_override(4,false,1);

break;
}
case 1:{
set_power_pwm_override(0,true,0);
set_power_pwm_override(1,false,1);
set_power_pwm_override(3,true,0);
set_power_pwm_override(2,false,1);
set_power_pwm_override(4,true,0);
set_power_pwm_override(5,false,1);

break;
}
}
}

in order to get the output as attached(untitled2)..but the signal produced from the coding above attached(untitled)..
so now, i have no idea how to adjust the coding above especially about the true/false and also the condition 1/0....i do not know how to make the double phase shift..from my result,it only show one phase shift...

anyone pls help me..
Attached Images
File Type: png Untitled2.png (20.2 KB, 2 views)
File Type: png Untitled.png (101.6 KB, 1 views)
Reply With Quote
Reply   Post New Thread

Tags


Related Site Pages
Section Title
Worksheet Opamp oscillator circuits
Textbook Tesla polyphase induction motors : Ac Motors
Textbook Synchronous Motors : Ac Motors
Textbook Phase rotation : Polyphase Ac Circuits
Textbook Harmonics in polyphase power systems : Polyphase Ac Circuits
Textbook The Silicon-Controlled Rectifier (SCR) : Thyristors
Textbook Ring counters : Shift Registers
Textbook Parallel-in, parallel-out, universal shift register : Shift Registers
Textbook Serial-in, parallel-out shift register : Shift Registers
Textbook Serial-in/serial-out shift register : Shift Registers


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:28 AM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.