spin7ion / rush-osd-development

Automatically exported from code.google.com/p/rush-osd-development
0 stars 0 forks source link

OSD GUI variables swapped. Video Voltage #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Connect Video monitor to MinimOSD
2.Connect power to Video Pin
3.Look at screen and see that second reading on the bottom, says 15.0 A, 
guessing it should say V instead.
4. On GUI need to adjust Amperage to get value down, really just have to plug 
it in and look at how the numbers come up and getting them adjusted.

What is the exact brand and model of hardware you´r using?
MinimOSD from Witespy

What is the expected output? What do you see instead?
See Above, also I changed the A to a V so the second reading says voltage, I 
swapped the pins around in the code, but really didn't fix the GUI issue.

What official OSD version are you using?

2.2

Have it been modified in any way?

No, Video Voltage is not correct on the downloaded one.

Please provide any additional information below.

Original issue reported on code.google.com by AricCudn...@gmail.com on 21 Jan 2014 at 5:14

GoogleCodeExporter commented 9 years ago
Found pin locations in the Arduino code and fixed them so the Videovoltage 
works with the GUI.  

Just for others you need to go in GlobalVariables.h
//Analog input defines
const uint16_t voltagePin=0;
const uint16_t vidvoltagePin=2;
const uint16_t amperagePin=1;
const uint16_t rssiPin=3;

They depend on how it is wired.

Then further down in the file
1,    // L_VIDVOLTAGEPOSITIONDSPL

This needs to be set to 1, mine was at 0.  Make sure that it is set in both the 
PAL and NTSC sections, also a handy thing is you can pick the things you don't 
want on the screen and disable any pieces you don't want by changing the DSPL 
one to 0.

I had to do it in both sections then send an EEPROM clear then upload the new 
code, to make it work.  

Original comment by AricCudn...@gmail.com on 27 Jan 2014 at 5:52

GoogleCodeExporter commented 9 years ago

Original comment by katawentos on 9 Feb 2014 at 3:53