Post your best Lua script examples here

User avatar
By gerardwr
#4506
Erni wrote:gerardwr
I am not sure what caused the twiching.
If I read zeroday's test correct it is not caused by the lua firmware.
I don't have an oscilloscop, so I can't see how this looks like.


When time permits (probably next year!) I'll have a go at bit banging the 433Mhz protocol with the ESP. Arduino basic code looks something like this, if the ESP plays nice it will probably work.
Code: Select all    if (bit == 0)
    { delayMicroseconds(600);
      digitalWrite(outpin,1);
      delayMicroseconds(1000);
      digitalWrite(outpin,0);
      // Serial.print("0 ");
    }