Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Lua
➜ "bit" library - where to find it
"bit" library - where to find it
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Mudassir Tufail
(2 posts) Bio
|
Date
| Mon 31 Oct 2016 04:41 PM (UTC) |
Message
| Hello
I see bit manipulation functions defined (http://www.mushclient.com/scripts/doc.php?general=lua_bit) however where do I go get the required "bit" libraries?
I have found a i2c LCD driver (lcdprint.lua) which uses functions such as bit.clear / bit.lshift. I am trying to using it esp8266 nodemcu with LUA SDK but it is failing on finding "bit".
Thanks | Top |
|
Posted by
| Mudassir Tufail
(2 posts) Bio
|
Date
| Reply #1 on Mon 31 Oct 2016 05:59 PM (UTC) |
Message
| Never mind - I was able build the Lua SDK (including "bit" library) using https://nodemcu-build.com/index.php.
It works like a charm now :-) | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #2 on Tue 01 Nov 2016 04:44 AM (UTC) |
Message
| |
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
12,328 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top