Thursday, November 30, 2017

Nov 30, 2017

Entrance Ticket - Pick a Electronic Component from the list

Class Agenda:

  • 12:30-12:45 - Entry Ticket - 15 min (see top of Blog for today)
  • 12:45 - 1:30 - Report on IoT conference
//This is how to start the motor "left" or CCW. 
    analogWrite(motorDriveSpeedPin, 100);//Sets speed variable via PWM
    digitalWrite(motorDirectionPin1, LOW);
    digitalWrite(motorDirectionPin2, HIGH);
    Serial.println("Motor 1 Left"); // Prints out “Motor 1 Forward” on the serial monitor
    //Serial.println("   "); // Creates a blank line printed on the serial monitor



//This is how to stop the motor
    analogWrite(motorDriveSpeedPin, 0);//Sets speed variable via PWM
    digitalWrite(motorDirectionPin1, LOW);
    digitalWrite(motorDirectionPin2, LOW);
    Serial.println("Motor 1 STOPPED");
    Serial.println("   ");
 

  • 2:15 - 3:20 - Robot Club
  • 3:20 - 3:30 - Cleanup

No comments:

Post a Comment