You are reading a single comment by @Reinoud and its replies. Click here to read the full conversation.
  • That's a very odd one. Please could you post this in a new thread and let me know which board you're using?

    If you delete SPI1.setup({ baud: 1000000, sck:A5, mosi:A7 }); and then use this code:

     // Setup SPI
      var spi = new SPI();
      spi.setup({ baud: 1000000, sck:A5, mosi:A7 });
      // Initialise the LCD
      g = require("PCD8544").connect(spi,A6,B0,B1,­ function() {
    

    In your onInit function I imagine it'll fix it though.

About

Avatar for Reinoud @Reinoud started