You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • Hi AkosLukacs,

    Turn off minification only deletes the message :

    TypeError: Cannot read property 'length' of undefined

    I have Web Ide 0.72.1

    I have also a Espruino IDE Native version 0.69.0 for my MDBT42Q Bluetooth Module.
    I made tests with it on Pico this morning, and COOL ! It works fine ?

    There are some issues with Web Ide 0.72.1

  • Mon 2019.11.18

    Glad you got it working!

    A bit of confusion in #8, so the Pico is working with Native 0.69.0 then?

    Was it the uploading of modules as functions? (ref Gordon's comment link in #9)

    ... or, ...

    upgrading to IDE Native version 0.72.1? (as indicated in #10)


    'There are some issues with Web Ide 0.72.1'

    What specifically is observed with 'some issues'?

  • Yes Pico (and EspruinoWifi) works when I use IDE Native 0.69.0 (and 0.72.1) to transfert code.
    Its just longer , about 1 mn forthis code :

    I2C3.setup({scl:A8, sda:B4, bitrate:100000});
    const MPU = require("MPU6050").connect(I2C3);
    // 2nd parameter is the fifoRate. The DMP output frequency = 200Hz / (1 + fifoRate)
    const DMP = require("MPU6050_DMP").create(MPU, 3);
    
    function pidLoop(args) {
      var data = DMP.getData();
      if(data !== undefined) console.log(DMP.getYawPitchRoll(data));
    }
    
    setWatch(pidLoop, B5, { repeat:true, edge:'rising' });
    

    No I didn't use the option "Module uploaded as functions". The code is uploaded in RAM .

    When I was doing tests with different IDE, I noticed some strange things. I'm going to synthesize all this in a new post.

About

Avatar for Robin @Robin started