Code Monkey home page Code Monkey logo

Comments (6)

0xc0170 avatar 0xc0170 commented on July 20, 2024

I am bit confused with lines a-d above. Could you possible to provide each separately and the behaviour actual/expected?
Looking at it, seems like line d should fix what you are seeing but the start of the test sets the outputs to 0 also.

from ci-test-shield.

soramame21 avatar soramame21 commented on July 20, 2024

sorry for unclear description. There's 2 ways to fix the issue.
1st way (I called plan A)
Just added a while loop at beginning withno line d. I could not observe the loop taking longer time than 100ms actually.

while(ain.read()>0.0f){    //line b, actually the loop only run once on xxxM066
    wait(0.1);    // plan A : the effective delay is required for xxxM066. 7/12 - ren
}

2nd way (I called plan B)
It's the alternative fix of above while loop. line d only is added instead of the while loop.

from ci-test-shield.

BlackstoneEngineering avatar BlackstoneEngineering commented on July 20, 2024

@mray19027

from ci-test-shield.

BlackstoneEngineering avatar BlackstoneEngineering commented on July 20, 2024

@soramame21 what platform are you testing this on? This is the first time we've seen this issue.

It may be worth adding a corner case test to catch this. Either way if the platform cannot meet the current testing infrastructure it needs to have a warning on its platform page about limitations on its AnalogIn speed.

from ci-test-shield.

soramame21 avatar soramame21 commented on July 20, 2024

@BlackstoneEngineering This is a pre-release platform working with 5v not 3.3v. the ci-test-shield is modified specially, it's quite different from others. I think we may not need to make further investigation on it. I'd like to close this issue. What is your comment or suggestion?

from ci-test-shield.

soramame21 avatar soramame21 commented on July 20, 2024

@BlackstoneEngineering I close it now. if it's necessary to go deeper, we can reopen it.

from ci-test-shield.

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.