You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Put the code in an onInit function - it should then be called at startup and will set the services up for you.

  • What is your display brand/model number? Some of those SSD1306 displays have different connections internally and need different initialisation codes :(

    SSD1306 oled display from china has a number at back side: GM009606A , i used it with my C library in keil. It worked nice. How can i repair it? Where i can find source file to fix it?

    Next time i tried to connect CC3000 wlan module (TI CC3000 booster pack), but compiler says than cc3000 and http modules not found and i have a log :

    ERROR: Timeout in CC3000 driver (16384)

    SPI1.setup({ sck : 27, miso : 26, mosi : 25, baud:1000000, mode:1});
    var wlan = require("CC3000").connect(SPI1, 24 /* CS */, 23 /* EN */, 22 /* IRQ */);
    wlan.connect( "Amigo_WiFI", "*******", function (s) { 
      if (s=="dhcp") {
        require("http").get("http://www.pur3.co.­uk/hello.txt", function(res) {
          res.on('data', function(data) {
            console.log(">" + data);
          });
        });
      }
    });
    

    Is CC3000 supported? I use nrf52DK

About

Avatar for Gordon @Gordon started