|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
|
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 |