84
edits
Line 37: | Line 37: | ||
[[File:Basic1.jpg]] | [[File:Basic1.jpg]] | ||
'''The Code for Test:''' | |||
(The code vibrates the motor every minute) | |||
const int motorPin = 3; | |||
void setup() | |||
{ | |||
pinMode(motorPin, OUTPUT); | |||
} | |||
void loop() | |||
{ | |||
digitalWrite(motorPin, HIGH); | |||
delay(1000); | |||
digitalWrite(motorPin, LOW); | |||
delay(59000); | |||
} | |||
== Second Part == | == Second Part == |
edits