GithubHelp home page GithubHelp logo

pwm cannot set Hz about pymycobot HOT 5 CLOSED

elephantrobotics avatar elephantrobotics commented on June 14, 2024 1
pwm cannot set Hz

from pymycobot.

Comments (5)

zlj-zz avatar zlj-zz commented on June 14, 2024 1

Atom2.6 should be ok.

from pymycobot.

shiosalt avatar shiosalt commented on June 14, 2024 1

I upgraded Atom to 2.6, but it doesn't work.
I think it's a pymycobot issue, not an atom issue.

python command's output:
>>> mc.set_pwm_output( PWM_channel_No , PWM_Duty_Cycle , PWM_Freq)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: set_pwm_output() takes 3 positional arguments but 4 were given

And, Atom 2.6 doesn't work with 2 args nor 3args either.
set_pwm_output( PWM_channel_No , PWM_Duty_Cycle)
set_pwm_output( PWM_channel_No , PWM_Duty_Cycle,PWM_Freq)

from pymycobot.

zlj-zz avatar zlj-zz commented on June 14, 2024 1

OK, I see. Atom 2.6 does need three parameters, but it's not open to me yet, so I can't improve pymycobot.
When atom solves this problem, I will also update pymycobot。

from pymycobot.

zlj-zz avatar zlj-zz commented on June 14, 2024

Atom 2.6 whether can work with 2 args?

from pymycobot.

shiosalt avatar shiosalt commented on June 14, 2024

Unfortunately, Atom 2.6 cannot work with 2 args. I tested 2 times.

I guess Atom 2.6 needs 3 args, but pymycobot sends only 2 args.

*Transponder app send "FE FE 04 64 (PWM_channel_No) (PWM_Duty_Cycle) FA"
on set_pwm_output(PWM_channel_No , PWM_Duty_Cycle),
and Atom 2.6 doesn't make waves. Atom 2.5 makes waves.

mycobot-transponder

from pymycobot.

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.