Go to Post (middle school age) One time I had a truly awful day at school and came home crying. My mother's response? "Do you want to go to the build session tonight? It will make you feel better.." And it did. It always does. - rachelholladay [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Spotlight this post!  
Unread 31-01-2008, 17:29
Team2002 Team2002 is offline
Registered User
FRC #2002
 
Join Date: Feb 2007
Location: Tualatin OR
Posts: 6
Team2002 is an unknown quantity at this point
Re: ir sensor Board ??????????????????????

Quote:
Originally Posted by Alan Anderson View Post
Yes. The valid range of values for a pwm output is 0-254. Since the pwm "variables" in the code are of type unsigned char, trying to set one to 256 will actually end up with it set to zero.



You'll need to be a lot more specific about where you put the code. The filename is not really important. What matters is the name of the function in which it appears: Process_Data_From_Master_uP(), Default_Routine(), Process_Data_From_Local_IO(), etc.

I placed it under Default_Routine() is that the wrong place? I couldnt find a function called Process_Data_From_Local_IO(), in user_routines.c
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wiring the IR sensor board govvijay Programming 9 05-02-2008 19:41
Technical Details for the IR sensor board tuzzer Electrical 1 19-01-2008 08:38
How to program ir sensor board?? RRA4LIFE2 Programming 1 11-01-2008 21:47
Perf Board = BS2-IC Carrier Board? indieFan Electrical 2 16-09-2004 08:28
Making a Sensor Board SpaceOsc Technical Discussion 11 15-05-2004 12:46


All times are GMT -5. The time now is 23:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi