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

Conflict with Adafruit_PWMServoDriver on TinyWireM.send #13

Open
johnyradio opened this issue Feb 25, 2018 · 0 comments
Open

Conflict with Adafruit_PWMServoDriver on TinyWireM.send #13

johnyradio opened this issue Feb 25, 2018 · 0 comments

Comments

@johnyradio
Copy link

johnyradio commented Feb 25, 2018

  • Arduino board: Digispark

  • Arduino IDE version: 1.8.5

  • Steps to reproduce the problem:

-- Ensure a basic sketch works with the uC. DONE.

-- Install Adafruit PWM Servo Driver Library for Digispark, Branch: TinyWireM, by placing the uncompressed folder called "Adafruit_PWMServoDriver" into Documents\Arduino\libraries, per instructions at above link. DONE.

-- Load File menu > Examples > Adafruit_PWMServoDriver > pwmtest. DONE.

-- Compile, and receive error:

Adafruit_PWMServoDriver.cpp:63:20: error: call of overloaded 'send(uint16_t&)' is ambiguous

TinyWireM.send(on);

                ^

D:\Documents\Arduino\libraries\Adafruit_PWMServoDriver\Adafruit_PWMServoDriver.cpp:63:20: note: candidates are:

In file included from D:\Documents\Arduino\libraries\Adafruit_PWMServoDriver\Adafruit_PWMServoDriver.cpp:19:0:

C:\Users\Baby Burrito\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\TinyWireM/TinyWireM.h:65:10: note: void USI_TWI::send(uint8_t)

 void send(uint8_t b)               { write(b); }

      ^

C:\Users\Baby Burrito\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\TinyWireM/TinyWireM.h:67:10: note: void USI_TWI::send(int)

 void send(int n)                   { write((uint8_t)n); }

      ^
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

1 participant