Loading...
Pages: 1 [2]   Go Down
Author Topic: Newbie having trouble with IR remote servo project  (Read 2236 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 138
Posts: 19067
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Never had to use it myself, but have you looked at 'constrain'?
Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

Atlanta
Offline Offline
Sr. Member
****
Karma: 0
Posts: 254
Arduino still rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey carl1864 looks like youre near success, did ya get it all together?
Logged

0
Online Online
Tesla Member
***
Karma: 51
Posts: 6573
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I think that would effectively set limits if I put it in all the right places, but I'm trying to figure out if there is a better way to do it.

I think servo.h already has built in limits.
Logged

Why I like my 2005 rio yellow Honda S2000 with the top down, and more!
GOOGLE ADVANCED FORUM SEARCH BELOW!  
Go to:  http://www.google.com/advanced_search?hl=en
put in key search words,
use site or domain:  http://arduino.cc/forum
or in a google search box put key words site:http://arduino.cc/forum

0
Offline Offline
Newbie
*
Karma: 0
Posts: 26
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You all sorted mate? This morning I sussed out how to get the IR remote receiveing. Can't help you with the servo's as I haven't got two to play with yet (need to rip that RC car apart! smiley-razz)

I got my sketch working with if commands, not sure if this is better than switchCase or not?
Logged

Pages: 1 [2]   Go Up
Print
 
Jump to: