Git Product home page Git Product logo

Comments (15)

venkateshpotluri avatar venkateshpotluri commented on September 15, 2024

@jamesadevine I tested the sound level with this firmware and I think the data stops streaming after a few seconds. I tested the same code with the version of the firmware I was using earlier and this does not happen. I tried looking at the logs but there are too many log statements for me to identify a specific cause. Do you have any suggestions for me to send debugging info that would help?

from psst.

jamesadevine avatar jamesadevine commented on September 15, 2024

CC @pelikhan

from psst.

pelikhan avatar pelikhan commented on September 15, 2024

How do I repro this?

from psst.

pelikhan avatar pelikhan commented on September 15, 2024

James can you add the makecode project somewhere in the repo?

from psst.

jamesadevine avatar jamesadevine commented on September 15, 2024

@pelikhan 11f117b

from psst.

venkateshpotluri avatar venkateshpotluri commented on September 15, 2024

@pelikhan repro steps:

  1. start the development server with yarn start
  2. go to localhost:3000/dashboard.
  3. connect Micro:Bit with the linked firmware installed, and connect.
  4. add a note handler to the sound level.
  5. keep making some sounds for a few seconds.
    You will notice that the value stops changing after some time (after about 30-60 seconds).

from psst.

pelikhan avatar pelikhan commented on September 15, 2024

I've added instructions to rebuild the firmware at https://github.com/make4all/sonification/blob/main/makecode-microbit/README.md

from psst.

pelikhan avatar pelikhan commented on September 15, 2024

@venkateshpotluri try again with the new firmware and build of jacdac-ts. I'll leave my device to run overnight to see

from psst.

venkateshpotluri avatar venkateshpotluri commented on September 15, 2024

@pelikhan I tried the following and the issue still persists.

trial 1

  1. installed the makecode project by running npm install -g makecode
  2. navigated to the makecode-microbit folder.
  3. executed mkc -d

trial 2.

steps 1-3 above, and then copied in the firmware linked in this issue.

from psst.

pelikhan avatar pelikhan commented on September 15, 2024

The firmware linked is outdated. I have removed it from the comment to avoid any kind of confusion.

  • Make sure to run npm install -g -u makecode to update any previously installed version of the command line tool (-u forces the update)

I will try to repro again. Are you connecting any Jacdac devices to your micro:bit?

from psst.

venkateshpotluri avatar venkateshpotluri commented on September 15, 2024

I followed the steps you suggested and still run into the same issue. I do not have any jacdac devices connected: I just have the Jacdapter connected to the Micro:bit.

from psst.

venkateshpotluri avatar venkateshpotluri commented on September 15, 2024

I tried again with the jacdapter removed and the issue persists.

from psst.

jamesadevine avatar jamesadevine commented on September 15, 2024

Venkatesh, incase the instructions were unclear, please load the following hex file onto your micro:bit:
mbcodal-binary.zip

from psst.

jamesadevine avatar jamesadevine commented on September 15, 2024

I tried with the above firmware, and I do not see the value stopping after 30-60 seconds. It has been ten minutes for me.

from psst.

venkateshpotluri avatar venkateshpotluri commented on September 15, 2024

Peli and I had a debugging meeting, and my understanding is that we were able to resolve this with the latest firmware that Peli shared with me. This issue appears to be resolved, @pelikhan we can close this if you feel that this is fixed as well.

from psst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.