Hi I have Mobiflight running on a stand alone PC connected to a Mega for testing purposes, I have a chain of 4 Input shift registers and a test configuration with 32 outputs linked to each output on the shift resisters and each output connected to an led via a resistor, yesterday when I hit Test in Mobiflight the leds all flashed in sequence, how ever today I am getting the Hint ConfigErrorExecption_WriteshiftRegister Output when i click test. What is causing this
#ConfigErrorExecption_WriteshiftRegister Output
1 messages · Page 1 of 1 (latest)
You confused me. You began saying you had 4 INPUT shift registers and then 32 OUTPUTS?
I assume you meant output shift registers? You should post the complete exception error message for review.
Hi Jaime. sorry it was a long frustrating day, yes I did indeed mean output shift registers (74HC595) as far as the error message I get , when I click Test a windows dialog box pops up with the title "Hint" and the the message "ConfigErrorExecption_WriteshiftRegister Output" when I click OK it reappears.
Here are the debug log entries
Have you tried unplugging the Arduino and plugging it back in
Yeah, one of the first things I done, then restarted Mobiflight and then even restarted the PC. I have tried changing the the pin assignment to a different set and also tried 3 different output shift registers, next option I am considering is reinstalling Mobiflight as I am at a totoal loss
Are your connections tight?
OK so I created a new config file (.mcc) with 1 entry in it to rest LED 0, from the config wizzard when I clicked test the led lig up but when I closed the wizzard amd clicked Test I got the following
Yeah the connectors are all JST XH2.5 on the output boards and Dupoint 2.5 on the maga
This is super weird. Reinstalling MF won't do anything.
Does the shift register work if you just use it with a sim variable?
instead of the test button
Hi Neil this is weird alright, this is running on a seperate pc which doesn't have the sim installed so I can't use a variable, the led does light when I use the test button in the Output Config Wizard. So after the above exception I hit quit, restarted Mobiflight and created a new mcc file with 8 tests lines for 8 of the leds and when I clicked Test it worked, so I went on and made the other mcc files, one for the first 16, one for the first 24 and one for all 32 so I have 4 files in total and they all work. If I load in any one of the orginal 4 files they give me this error. The hardware has not changed between the old mcc files and the new ones, so that makes me think it has to be related to the mcc files, thing is the orginal ones have work as week until yesterday