|
Re: Need help with PWM 1-2ms pulse control
I did mine like this:
printf("Analog In = %d\n", Get_Analog_Value(rc_ana_in01));
But thats right though, the readings im getting are still 0-22. could it be that I've got the pot hooked up wrong? I have it connected to ground and signal. Its a 10k pot, and I tested it on the multimeter.
Could it be something in the user_initialization? Im using the EDU Default code right now to debug this problem.
Set_Number_of_Analog_Channels(TWO_ANALOG);
Last edited by Generalx5 : 30-04-2008 at 16:28.
Reason: Yes, the ini file is set up with 2 analog inputs. Default
|