Page 1 of 1

Warning light trouble

Posted: Tue Feb 27, 2018 3:52 pm
by ross2004
Having a little trouble with my warning won't turn off. I have GPIO 1 set for output providing ground for a LED light. It comes on immediately and stays on, even if all of my scripted parameters are in-line. Can someone check my script please, thanks!:

Posted: Wed Feb 28, 2018 3:16 pm
by ross2004
So, I seemed to have sorted things out. I changed the script formatting to match my accusump script which I knew worked. Also, I had to change getAnalog(8 ) to getAnalog(7) for purposes of reading battery voltage. I'm not quite sure why, as I understood lua-channel 8 to be internal battery voltage on a Mk3 box. Lua-channel 7, which is analog input 8, isn't connected to anything in my setup. At least I believe that interpretation to be correct.

Posted: Wed Feb 28, 2018 4:19 pm
by brentp
Hi, Glad you got this working. We'll make a note to double check the Lua mapping for the battery channel. On MK3 e added one more analog channel, so that might be related to the possible issue you've seen.

Posted: Wed Feb 28, 2018 5:03 pm
by ross2004
In regards to your reply to my telemetry issue, I think the problem is I installed the Mk2 firmware update by accident instead of Mk3...