#include <p18f4580.h>
#pragma config OSC = IRCIO67
#pragma config WDT = OFF
#pragma config LVP = OFF
#pragma config PBADEN =OFF
#define Q1 PORTDbits.RD0
#define Q2 PORTDbits.RD3
#define Q3 PORTDbits.RD1
#define Q4 PORTDbits.RD2
#define SW1 PORTBbits.RB1
#define SW2 PORTBbits.RB2
#define SENSOR1 PORTBbits.RB3
#define SENSOR2 PORTBbits.RB0
void main()
{ TRISB = 0;
PORTB = 0;
TRISD = 0;
PORTD = 0;
while (1)
{
if ((SW1==1)&&(SW2==0)&&(SENSOR1==0)&&(SENSOR2==0))
{
Q1=1; //clockwise
Q4=1;
Q2=0;
Q3=0;
}
else if ((SW1==0)&&(SW2==0)&&(SENSOR1==1)&&(SENSOR2==0))
{
Q1=0;
Q2=0;
Q3=0;
Q4=0;
}
else if ((SW1==0)&&(SW2==1)&&(SENSOR1==0)&&(SENSOR2==0))
{
Q2=1; //counter clockwise
Q3=1;
Q1=0;
Q4=0;
}
else if ((SW1==0)&&(SW2==0)&&(SENSOR1==0)&&(SENSOR2==1))
{
Q1=0;
Q2=0;
Q3=0;
Q4=0;
}
}
}what chart did u you use in the project
It is a graph, chart, or pictures in a science project to prove that you did the project.
if you do you will have good impression on the person whom you are giving your project
A flow chart, debugging, computer language, and Hopper.
Advantages of a PERT chart is that it's a great mean for visualizing and communicating progress on projects. They usually help the Project Manager to better manage the project.
No there is no chart unless someone took the time to make one and put it out on the web. Microprocessor speeds are on the CPU. There are only 2 major companies that make microprocessors, Intel and AMD. So go to there web sites and look for a list of Microprocessors and it will show you the speed of each.
A flow chart, debugging, computer language, and Hopper.
A flow chart, debugging, computer language, and Hopper.
A flow chart, debugging, computer language, and Hopper.
P Chart.
U Chart
flow t prime numberchar