• I updated a Kickstarter Puck.js w/ most recent FW 2v16 using online Web IDE. Running the default code

    Puck.magOn();
    Puck.on('mag', function(xyz) {
      console.log(xyz);
    });
    // Turn events off with Puck.magOff();
    

    complained in the console:

    >
     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v16 (c) 2021 G.Williams
    >
    Uncaught Error: Magnetometer not available on Puck.js Lite 1
     at line 1 col 12
    Puck.magOn();
               ^
    > 
    

    (Definitively not a battery level issue...)

    After installing from url 2v00 - the oldest listed on the site for previous versions http://www.espruino.com/Download - above code works.

     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v00 (c) 2018 G.Williams
    >
    { "x": -3341, "y": 3017, "z": 1275 }
    { "x": -3393, "y": 3067, "z": 1298 }
    { "x": -3398, "y": 3064, "z": 1299 }
    { "x": -3397, "y": 3067, "z": 1294 }
    

    2 questions:

    1. What is the newest verson that still recognizes the MAG3110 on my Kickstarter Puck.js V1? (*
    2. What can I do to make 2v16 recognize the MAG3110 on my Kickstarter Puck.js V1?

    *) Looks like 2V14 is last one that works... (worked thru 2v06, was on before update, then 2v11, then 2v14: all ok; 2v15 shows same issue as 2v16).


    1 Attachment

    • Puck,js_1.0e.png
  • Oops...

    ...found duplicate at Puck.js v1 on 2V16 - magnetometer not recognised...

    Search is really not working in forum, and googling was not of much more helpful...

    (using 1v14 until 2v17 will be out)

  • Yes, sorry for the problem.

    Since I'm on holiday after today I'd rather not do another firmware release until the new year in case it were to introduce new issues.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Puck.js FW 2v16 not recognizing HW V1 magnetometer MAG3110, thinks it's Puck Lite 1 HW

Posted by Avatar for allObjects @allObjects

Actions