Course Solutions Uncategorized (Solved) : Hi Someone Help Draw Flowchart Code Explanation Details Int Directionpin 2 Direction Pin I Q31218272 . . . .

(Solved) : Hi Someone Help Draw Flowchart Code Explanation Details Int Directionpin 2 Direction Pin I Q31218272 . . . .

 

Hi

Can someone help me draw a flowchart for this code with theexplanation in details?  

int DirectionPin = 2; //Direction pin
int StepPin = 3; //Stepper pin
int EnablePin = 7; //Motor enable pin
int max_speed_us = 70;
void setup(){
/*Sets all pin to output; the microcontroller will send them(thepins) bits, it will not expect to receive any bits from thiesepins.*/
pinMode(DirectionPin, OUTPUT);
pinMode(StepPin, OUTPUT);
pinMode(EnablePin, OUTPUT);

digitalWrite(EnablePin, HIGH); //Disbales the motor, so it can restuntill it is called uppond

Serial.begin(9600);
}

void loop(){
/*Here we are calling the rotate function to turn the steppermotor*/
rotate(800, 0.1); //The motor rotates 800 steps clockwise with aspeed of 0.1 (slow)
delay(5000);
rotate(1600, 0.5); //The motor rotates 1600 steps clockwise with

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Number Nis Considered Steady P Number Rp Ends Digits Example Number N 25 Steady 2 Number S Q37429007 . . . .(Solved) : Number Nis Considered Steady P Number Rp Ends Digits Example Number N 25 Steady 2 Number S Q37429007 . . . .

MATLAB. please add comments to the code you write down<br/><img src="https://media.cheggcdn.com/media%2F6ff%2F6ff63255-1d70-485b-8f44-67494e5f9027%2Fimage.png" alt="A number nis considered to be a steady-p number if rP ends in the same digits. For example, the