• http://www.espruino.com/Reference#l__global_digitalPulse

    There's a function to do that builtin :-)
    There are a few cases where not having a delay() is awkward - but in all but a few circumstances, you really don't want to do busy-waiting. If you need to, you can create a delay() function yourself in JS - I did that for the AT24/AT25 eeprom code that needs a few-ms delay periodically.

    That said, the code at that link looks suspiciously similar to the code used for HD44780 (which we have a module for). That's not just an HD44780 clone is it?

  • Thank you for the link, I did not realize I could do digital waveforms with digitalPulse() !
    Actually this LCD has a ST7036i controller, which is slightly different... That said, I did not use a I2C based HD44780, I don't know if, in this mode, the command set is the same or not...
    I already used a LCD with HD44780 controller and a 4-bit interface, that was "far too easy" to drive ;-)

About