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

Use more bits to store pin number. Enables servo support on A10-A15 on Arduino Mega. #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Servo.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
#if !defined(ARDUINO_ARCH_STM32F4)

typedef struct {
uint8_t nbr :6 ; // a pin number from 0 to 63
uint8_t nbr :7 ; // a pin number from 0 to 127
uint8_t isActive :1 ; // true if this channel is enabled, pin not pulsed if false
} ServoPin_t ;

Expand Down