|
|
|
![]() |
|
||||||||||||||
|
|||||||||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Printing Analog Input with Kevin's new code
We are trying to print analog values from our autonomous switch, but we are only getting 0 values. I was just wondering how do you print analog inputs using Kevin's new code.
Thanks, Vijay G. |
|
#2
|
||||
|
||||
|
Re: Printing Analog Input with Kevin's new code
It should be normal, something like:
Code:
for (k = 1; k <= NUM_ADC_CHANNELS; k++) {
printf("ADC %d: %d\r\n", k, Get_ADC_Result(k));
}
|
|
#3
|
||||
|
||||
|
Re: Printing Analog Input with Kevin's new code
Quote:
-Kevin |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with Kevin's 2008 code | jc4p | Programming | 4 | 02-06-2008 04:48 PM |
| Errors compiling Kevin's new code (pragmas) | Tanis | Programming | 11 | 01-31-2008 11:50 AM |
| Problem with Kevin's code | Tottanka | Programming | 5 | 11-04-2007 12:32 PM |
| Problems with Kevin's 2007 default code | bruss6 | Programming | 8 | 01-19-2007 02:42 PM |
| What are with the Ls in Kevin's code??!!! HELP!!! | RbtGal1351 | Programming | 2 | 02-18-2005 03:57 PM |