You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • What is your display brand/model number? Some of those SSD1306 displays have different connections internally and need different initialisation codes :(

    You can't flash the nRF52DK using the Web IDE. However if what you're asking is how to write your JS code in to flash, you type save() on the left-hand side.

    It's worth going through the getting started tutorial as it'll explain it: http://www.espruino.com/Quick+Start

  • yes. Understood)
    Now i defined ble service:

    //Start BLE service
    NRF.setServices({
      0xABCD : {
        0xDCBA : {
          value    : 0x01,
          //maxLen   : 1,
          writable : true,
          readable : true,
          onWrite  : function(evt) {
            digitalWrite([LED3,LED2,LED1], evt.data[0]);
          }
        }
      }
    });
    

    it works while i am not saving program in flash. After saving my service disappears

About

Avatar for Gordon @Gordon started