How do I do bitwise operations in LUA?
bit.band(a,b) and bit.lshift(x,n) would be nice. I suppose I can use multiply and divide in a pinch. Far less efficient though.
Explore... Chat... Share...
zeroday wrote:I have test a bitwise module. it cost about 400bytes ram.
the total ram remain will be below 20k.
worth it?
module:function: 3fff6cb8
require:function: 3fff6d08
pairs:function: 3fff6650
newproxy:function: 3fff6728
package:table: 3fff6858
_G:table: 3fff6020
__index:lightfunction: 40228cc4
ipairs:function: 3fff6598
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]