0

WaveHC timer conflicts
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

WaveHC timer conflicts

by Forgot_semicolon on Thu Jul 18, 2019 10:39 pm

Hi all,
I am trying to use a Wave Shield (which uses the WaveHC library) along with Servos and I2C devices (LED matrices and an LCD screen). Using the servos caused internal timer conflicts, which I was able to solve using the ServoTimer2 library. However, I am having trouble getting the WaveHC library to work with I2C devices. The errors started popping up in the Adafruit LED Backpack Library's LED_Backpack::begin() function, specifically the call to Wire.begin(). I assume that there is yet another timer problem. The way I see it, I have two options:

1. Force WaveHC to use another timer and have everything else be on their default timers, or
2. Look into what I have to do to get WaveHC using the standard SD library, since I've confirmed the WaveHC library cannot read the SD card when an I2C object has been created.

Obviously, 1 is faster but I was wondering if maybe by using the SD library, I can cut out a lot of WaveHC and save myself memory (which I'm running out of on my Arduino Uno).

Any help would be appreciated

Forgot_semicolon
 
Posts: 1
Joined: Thu Jul 18, 2019 10:33 pm

Please be positive and constructive with your questions and comments.