Closed RicheClaw15 closed 1 year ago
Maybe try to reflash the uno to make sure its flash memory is OK.
i tried blink from example and arduino uno board is fine can there be any other problem
You can see if there's any communication at all coming from the arduino. Check this: https://github.com/Cleric-K/vJoySerialFeeder/issues/24#issuecomment-504308045
i got this
It seems you're not sending any channel data from the Arduino. These are valid packets but they carry no channels. Can you explain your setup? From where do you read your inputs? Maybe you can also paste your Arduino sketch.
My setup: I use an old toy grade rc controller with arduino uno
You could have just copy-pasted the code as text.
Anyway, you need to edit the line
// example:
// byte analogPins[] = {A0, A1, A2, A3};
// This will send four analog channels for A0, A1, A2, A3 respectively
byte analogPins[] = {};
You need to insert between the braces the analog pins which you will be reading.
anything left
what about digital pins and bitmapped pins
These are needed if you want to use buttons/switches. What is your hardware setup? Do you read only the four axes of the sticks? Or you have more inputs?
only four axis
but still it does not work
Are you sure you can at all read the analog voltage? Maybe you should first try something like https://docs.arduino.cc/built-in-examples/basics/ReadAnalogVoltage to make sure that everything is working.
i got this
Then it should work with the other sketch too, like:
byte analogPins[] = {A1};
If you test this with the terminal app there should be values
i got this
This seems right. You should be able to see that single channel in vjsf.
still not working
Strange. Are you sure the Port Setup
settings are at default?
no its not at default
bro thanks now it works
OK, I don't know why it timed out before.
my data keeps fluctuating is there anyway to standard it
You mean that you get disconnected or the values are noisy?
the values fluctates a bit
That's normal with the Arduino analog-digital conversion from simple potentiometers. Unless it causes noticable jerky movements while you play, it's not a problem.
ok thanks brother
I am using arduino uno with toy grade rc controller. TX light is not flashing. Wayback it worked fine but now this not working.