Gents, I do not know if this is the right place, but may be someone would lead me in the right direction of it is not.
Here is the problem. I need to convert a number to a text in lua, for the Taranis 2.0.18 transmitter. I understand that lua can use tostring operator to do so, however, I was not able to see that operator in the OpenTX documentation. Question is: Is it possible to make such conversion, or I am pushing the envelope too much?
Thank you.
lua number conversion
-
- Posts: 183
- Joined: Sat Mar 29, 2014 10:44 pm
- Country: United States
- Location: Coral Springs, FL
lua number conversion
Richard
Re: lua number conversion
Not sure, but I believe the OpenTX documentation only lists OpenTX specific functions (that interact with the firmware and radio), for the rest the standard lua reference docs apply.
Not all lua libs are included, but the string one is there.
Not all lua libs are included, but the string one is there.
-
- Posts: 183
- Joined: Sat Mar 29, 2014 10:44 pm
- Country: United States
- Location: Coral Springs, FL
Re: lua number conversion
Thanks a lot Kilrah, I will do some trials in OpenTX and see if I can get those weird operators working.
Richard