|
Re: arduino help
Here the code you could use:
/***********
connect an NPN transistor driving a motor to pin 9 on arduino
***********/
int motorPin = 9;
void setup() {
pinMode(motorPin, OUTPUT);
delay(45000);
digitalWrite(9, HIGH);
delay(1000);
digtalWrite(9, LOW);
}
void loop() {
}
__________________
William Kalfus
Team 1676, The Pascack Pi-oneers
|