Avatar for AntiCat

AntiCat

Member since Feb 2015 • Last active Apr 2021
  • 15 conversations
  • 90 comments

Most recent activity

    • 6 comments
    • 396 views
  • in General
    Avatar for AntiCat

    @Gordon Yes Storage is one of the cool features, I'm looking forward to using.

  • in General
    Avatar for AntiCat

    @Robin Thank you for the Pointer (https://chrome.google.com/webstore/detai­l/espruino-web-ide/bleoifhkdalbjfbobjack­fdifdneehpo). That’s the IDE Variant I was looking for.

    I tried the chrome web store before posting here. However, when I enter “Espruino” in the search field the only app that shows up is a fake. It's strange that the in-store-search does not work, at least on my system/language setting.

  • in General
    Avatar for AntiCat

    I've been absent for some years. Coming back a lot has changed. Many new cool features :-). However, one seems to be gone:
    https://www.espruino.com/Modules states "If you set a project folder with Web IDE -> Settings -> Project, the Web IDE will automatically create an empty modules folder inside it. Put a module there and you can load it with require("myCustomModule");.

    I'm executing the IDE in Chrome on Mac OS X by visiting https://www.espruino.com/ide That version does not have this option. Is there a version with this feature available for download? I've checked Googles Chrome-Appstore but the IDE does not seem to exist there anymore.

    • 31 comments
    • 6,009 views
  • in Puck.js, Pixl.js and MDBT42
    Avatar for AntiCat

    Software is 2.04, the Hardware im using is a Puck from the Kickstarter campaign so 1.0e.

    Edit: Could Minify make a difference? It is off on my system. I not at home so I can’t test other options right now.

  • in Puck.js, Pixl.js and MDBT42
    Avatar for AntiCat

    I never submitted a PR for NFCvCard.js since it didn't felt polished enough (especially since the vcard hat to be < 220 bytes). So the detour of downloading and copying to module directory is necessary. I've just double-checked. Using the https://www.espruino.com/modules/NFCTag.­js and the NFCvCard.js from above still works for me...

    That sed I rarely have issues when the BLE connection is also open. What might also break the system is creating multiple instances of NFCTag by calling require("NFCvCard") multiple times without a reset (note an upload performs a reset, so that should be fine in your case).

    My RAW data ends up to be:

    tag._record = new Uint8Array([95, 112, 172, 11, 153, 120, 250, 81, 74, 3, 255, 255, 225, 17, 124, 15, 3, 135, 194, 12, 0, 0, 0, 117, 116, 101, 120, 116, 47, 120, 45, 118, 67, 97, 114, 100, 66, 69, 71, 73, 78, 58, 86, 67, 65, 82, 68, 10, 86, 69, 82, 83, 73, 79, 78, 58, 50, 46, 49, 10, 78, 58, 68, 111, 101, 59, 74, 111, 104, 110, 59, 59, 77, 114, 46, 10, 70, 78, 58, 74, 111, 104, 110, 32, 68, 111, 101, 10, 84, 69, 76, 59, 87, 79, 82, 75, 59, 86, 79, 73, 67, 69, 58, 40, 49, 49, 49, 41, 32, 53, 53, 53, 45, 49, 50, 49, 50, 10, 69, 77, 65, 73, 76, 58, 106, 111, 110, 100, 111, 101, 64, 101, 120, 97, 109, 112, 108, 101, 46, 99, 111, 109, 10, 69, 78, 68, 58, 86, 67, 65, 82, 68, 10, 254]);
    

    Except the first 10 bytes (unique device id) this data should be identical on your Puck.JS.

  • in Puck.js, Pixl.js and MDBT42
    Avatar for AntiCat

    Thank you for the explanation.

    I've looked at the interface libraries/fstorage/fstorage.h and at least the arguments are at a very low abstraction level. Even if we would reimplement it, I'm not sure if we could save storage.

  • in Puck.js, Pixl.js and MDBT42
    Avatar for AntiCat

    I've started to port old code that uses the (deprecated) Flash-Module to the Storage-Module.

    With the Flash-Module I could disable features like NET, GRAPHICS and thereby increase the Storage available to me. (As far as I know, the Flash-Module uses the pages between the executable and the reserved area).

    The Storage-Module, on the other hand, seems to use the pages defined by pages: 10.

    Can I simply increase pages and decrease flash_available by the same amount to move the free space from the Flash-Module to Storage-Module?
    What are the 2 pages reserved for FS for?

Actions