Giter Club home page Giter Club logo

Comments (4)

richardghirst avatar richardghirst commented on August 18, 2024

Thanks; that's because setting =0 just removes the 'turn on' trigger, and
relies on the 'turn off' at the end of the current pulse to turn it off.
However, if you've set width to 2000 then there is no 'turn off' as it is
on 100%. So, I remove the 'turn on' trigger and the output stays on for
ever. Will fix.

When driving a servo it is important we don't cut a pulse short when going
to =0, which is why it waits for the current pulse to end and set the
output off. However, =2000 is a special case, and I'll just set the output
off immediately.

Richard

On Tue, Nov 26, 2013 at 1:34 PM, Darren Gibbard [email protected]:

Hi,
Recently starting using servoblaster to power an LED array via a
Darlington Array; I set the following options in /etc/init.d/servoblaster:

OPTS='--p1pins=12 --p5pins= --min=1 --max=2000'

When setting:

echo 0=2000 > /dev/servoblaster

The LED is set to full brightness correctly. Then, setting:

echo 0=0 > /dev/servoblaster

Does nothing. However; setting it to a non-maximum value first, then
setting to zero does work! ie:

echo 0=1999 > /dev/servoblaster
echo 0=0 > /dev/servoblaster


Reply to this email directly or view it on GitHubhttps://github.com//issues/19
.

from pibits.

richardghirst avatar richardghirst commented on August 18, 2024

Please try the latest version.

Richard

On Tue, Nov 26, 2013 at 1:34 PM, Darren Gibbard [email protected]:

Hi,
Recently starting using servoblaster to power an LED array via a
Darlington Array; I set the following options in /etc/init.d/servoblaster:

OPTS='--p1pins=12 --p5pins= --min=1 --max=2000'

When setting:

echo 0=2000 > /dev/servoblaster

The LED is set to full brightness correctly. Then, setting:

echo 0=0 > /dev/servoblaster

Does nothing. However; setting it to a non-maximum value first, then
setting to zero does work! ie:

echo 0=1999 > /dev/servoblaster
echo 0=0 > /dev/servoblaster


Reply to this email directly or view it on GitHubhttps://github.com//issues/19
.

from pibits.

dalgibbard avatar dalgibbard commented on August 18, 2024

Sorry haven't got around to this yet :) Will hopefully sort it today!

from pibits.

richardghirst avatar richardghirst commented on August 18, 2024

Works for me, assuming fixed :)

from pibits.

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.