I compared speed of a 160 MHz ESP8266 with 3 different programming language:
LUA , Micropython, and Arduino IDE.
Result: C++ is 20 times faster than LUA. (6KHz, 12KHz, and 124 KHz )
See results here: http://esp8266freq.blogspot.hu/p/blog-page.html
Explore... Chat... Share...
local function mark(mtime)
local begin=tmr.now()
while(tmr.now()-begin<mtime)
do
write(irpin,1)
waitus(halfPeriodicTime)
write(irpin,0)
waitus(halfPeriodicTime)
end
end
devsaurus wrote:I guess that there are too many inaccuracies when doing this from Lua.
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[…]