Go to Post Some people use Autodesk, some SolidWorks, some Pro-E, but 772 rose to the call of an unconventional CAD language, Minecraft. - Walter Deitzler [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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
  #1   Spotlight this post!  
Unread 07-02-2007, 20:25
Nicole_Ypes Nicole_Ypes is offline
Nicole Ypes
FRC #1547 (Waldo)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Waldo!
Posts: 7
Nicole_Ypes is an unknown quantity at this point
Send a message via MSN to Nicole_Ypes
Exclamation Potentiometer Problems

My team is having trouble with our potentiometer. We have all three leads conected and we have tested them for voltage and resistence, and both turned up to be fine. We have checks everything over, but we just can't get the values to print to screen. We are using easyc pro but I typed out the code:

#include "Main.h"

void main( void )
{
unsigned int PotValues;

while (1)
{
PotValues = GetAnalogInput(1);
PrintToScreen("%u\n ,(int)PotValues);
}
}


Can anyone help me here? This just does not seem to be working, We compared this programto those of last years but still has not turned anything up, we also tried using MPLab but still nothing. If anyone can help us out, we would really appreciate it!
 


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
Potentiometer PID DustinB_3 Programming 28 15-02-2008 23:18
Potentiometer fezkazi Electrical 3 24-01-2007 13:29
Linear Potentiometer FRC1710 Motors 4 15-01-2007 19:20
Potentiometer help Unholy Programming 4 07-02-2006 17:48
Potentiometer Joshua May Technical Discussion 8 22-05-2004 19:51


All times are GMT -5. The time now is 11:49.

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