Arduino project

Status
Not open for further replies.
pinmode(outPin,output);
...

digitalWrite(outPin, HIGH); // sets the pin on
delayMicroseconds(50); // pauses for 50 microseconds
digitalWrite(outPin, LOW); // sets the pin off
...
 
No he means something to what you think. Think about how many Hertz in the sine wave and the number of degrees in a complete cycle, then work out the time you would need for the number of degrees you want.

Reading that back I just made that sound harder than it is didnt I? I must get better at putting my thoughts into words, man I really suck at explaining! sorry
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…