HELP : Lua Code for a Batter Capacity Rest
- rolfbartels
-
Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
TPL_KUNENA_MESSAGE_CREATED HELP : Lua Code for a Batter Capacity Rest
08 Aug 2021 15:50
Hi All,
I hope someone can help me with some code that will send a change state on a servo channel to reset the capacity of the battery,
The new Powerbox Pioneers, will reset the used capacity of the batteries when a switch assigned to ch. 16 is activated.
Is this even possible via lua ? what is the lua code to issue a switch change
Thanks
I hope someone can help me with some code that will send a change state on a servo channel to reset the capacity of the battery,
The new Powerbox Pioneers, will reset the used capacity of the batteries when a switch assigned to ch. 16 is activated.
Is this even possible via lua ? what is the lua code to issue a switch change
Thanks
Please Log in or Create an account to join the conversation.
- IG-Modellbau
-
- Offline
- Moderator
-
- Posts: 3781
- Thank you received: 2809
TPL_KUNENA_MESSAGE_REPLIED_NEW HELP : Lua Code for a Batter Capacity Rest
08 Aug 2021 16:40
Hi ???,
why not use a simple switch assigned to the servo channel?
Ingmar
why not use a simple switch assigned to the servo channel?
Ingmar
The following user(s) said Thank You: Thorn
Please Log in or Create an account to join the conversation.
- rolfbartels
-
Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
TPL_KUNENA_MESSAGE_REPLIED_NEW HELP : Lua Code for a Batter Capacity Rest
09 Aug 2021 17:01
I have got a switch assigned to the ch. and this is how we are currently resetting the battery capacity, but I would like it to be done automatically from the lua app when it sees re-charged batteries installed. So how can I get the lua app to activate a channel or a switch ?
Please Log in or Create an account to join the conversation.
- Thorn
-
- Offline
- Moderator
-
- Posts: 3464
- Thank you received: 1485
TPL_KUNENA_MESSAGE_REPLIED_NEW HELP : Lua Code for a Batter Capacity Rest
10 Aug 2021 07:16
Sorry, which app are you talking about exactly, because when you reset the capacity, the capacity is also reset in the app, because the app takes the data from the sensor.
Thorn
Thorn
!! Bitte alle meine Apps vom Sender Löschen!
Sorry, wegen meiner Rechtschreibung und Grammatik!!!
Lg Thorn
Sorry, wegen meiner Rechtschreibung und Grammatik!!!
Lg Thorn
Please Log in or Create an account to join the conversation.
- skyfreak
-
- Offline
- Platinum Member
-
- Posts: 2947
- Thank you received: 1450
TPL_KUNENA_MESSAGE_REPLIED_NEW HELP : Lua Code for a Batter Capacity Rest
10 Aug 2021 10:38
@rolfbartels
check this out, I think the code contains parts ya could use
swiss-aerodesign.com/calculated-capacity/
check this out, I think the code contains parts ya could use
swiss-aerodesign.com/calculated-capacity/
Fliegergruss
GUIDO
_________________________________________________________
Too many dicks on the dance floor.
Too many dicks!
GUIDO
_________________________________________________________
Too many dicks on the dance floor.
Too many dicks!
Please Log in or Create an account to join the conversation.
- Thorn
-
- Offline
- Moderator
-
- Posts: 3464
- Thank you received: 1485
TPL_KUNENA_MESSAGE_REPLIED_NEW HELP : Lua Code for a Batter Capacity Rest
10 Aug 2021 19:33 - 10 Aug 2021 20:49
Sorry skyfreak was hat die App mit seiner Frage zu tun?
Mfg
Thorn
Mfg
Thorn
!! Bitte alle meine Apps vom Sender Löschen!
Sorry, wegen meiner Rechtschreibung und Grammatik!!!
Lg Thorn
Sorry, wegen meiner Rechtschreibung und Grammatik!!!
Lg Thorn
Last edit: 10 Aug 2021 20:49 by Thorn.
Please Log in or Create an account to join the conversation.
Moderators: Thorn, IG-Modellbau
Time to create page: 0.336 seconds