Hi all,
Currently i wrote a program and select on RX Input and set it to channel 5. Problem is: How can i set the RF transmitter to channel 5?. so that my program can able to detect from the RF transmitter?
** Kindly me some advise…
Hi all,
Currently i wrote a program and select on RX Input and set it to channel 5. Problem is: How can i set the RF transmitter to channel 5?. so that my program can able to detect from the RF transmitter?
** Kindly me some advise…
Ok, in simpler terms, tell me what you want to do. Do you want to use a stick to move horizontal or vertically to make a motor turn, or do you want to use the buttons on the back?
Source Code is always helpful…
Channel 5 & Channel 6 (the Buttons on the BACK of the Vex Transmitter), output a Value of 127. Press the Top Button of Either Channel, and the Output Value is 255 (IIRC), press the Bottom Button of Either Channel, and the Output Value is 0 (IIRC) (I might have these backwards) Press Both Buttons on the Channel, and the Output Value is 127, Just like NO Buttons Pressed. Channel 5 is totally Independent from Channel 6, and Vice-versa.
If you are using the function “channel_5 = GetRxInput ( 1 , 5 )” in EasyC, this will take the current value of Channel 5 and place it into the Variable channel_5.
As Blake said, do not confuse Control Channels (e.g. 1-6) with Radio Frequency (RF) Channels (e.g. 61, 89, 65, 69, 81, 85, 63, 67, 83 and 87) See pages 6-20 to 6-22 in the Inventors Guide.
All 6 user controls on the transmitter are automatically sent through the Receiver to the Robot’s computer at a rate of approximately once every 18.5 milliSeconds.
If the Robot Receiver and the Transmitter are both using the same Radio Frequency Channel (because they are both using Crystals tuned to the same Frequency), then the Robot will constantly receive the setting of all 6 Transmitter controls every 18.5 milliSeconds.
No tuning commands or other instructions are required in the User-written software for this to happen, it is done by the receiver and by the software controlling the Master Processor in the Robot’s computer module.
The Inventors guide calls each of the 6 user controls a “Channel”. This isn’t wrong, but it is an unfortunate choice of words; because it overlaps with using the word Channel to describe the RF Channels the transmitters use.
Blake