You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • @JumJum thanks - just updated it on GitHub, so the next website update will have that fixed.

    @Jorgen, that's a bit unfortunate! What I'd do is:

    • copy the code for the ILI9163 into the Web IDE's right hand side
    • put the line var exports = {}; right at the top of it.
    • Copy the example initialisation code to after it, but replace require("ILI9163") with exports

    So then it's a totally self-contained bit of code that you can send, tweak and debug quite quickly.

    It looks like it behaves in an almost identical way - the bytes that are sent to set the pixels are identical. About the only thing that's different seems to be the bytes you have to send to initialise it...

    So you just need to put this code into here and it should just start working! :)

About

Avatar for Gordon @Gordon started