Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Servo8Bit & Arduino 1.6.9 #6

Open
hreintke opened this issue May 26, 2016 · 2 comments
Open

Servo8Bit & Arduino 1.6.9 #6

hreintke opened this issue May 26, 2016 · 2 comments

Comments

@hreintke
Copy link

@fri000 :
I recently started to use Servo8Bit on an attiny85, together with Arduino 1.6.9.
In order to get it to work I needed to make some fundamental/hackish updates to the library.

Are you still active with this library ?

If so, I will make a detailed issue with config & updates I made, so we can see whether this is caused by my misunderstanding or a misalignment between the Arduino & servo8Bit librarries.

@maltevonehren
Copy link

I found the Issue was a simple c++ problem in the Servo8Bit constructor. For some reason after the constructor myServoNumber is 0 instead of invalidServoNumber. This results in the register function not being called and nothing happening. Changing the default for myServoNumber to ServoSequencer::kInvalidServoIndex instead of invalidServoNumber fixes the problem.

@FedericoBusero
Copy link
Contributor

See #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants