Conflicting timers and/or interrupts in Arduino Servo Library and USBHostShield Library

Thread Starter

solace11

Joined May 19, 2023
2
Hello, I am using the Arduino Servo library to actuate two BLDC motors and ADK USB Host Shield to control them using a USB dongle controller (XBOX). But I am facing issues particularly in calibrating the BLDCs and lose the host shield. The most probable problem I could think of is there are some timers and/or interrupts conflicting in the libraries. These are the libraries I am using in particular:
1685704710117.png USB Host Shield Xbox Library
1685704782092.png Standard Servo Library
BTW I am using Arduino Mega.
What options do I have, write library for BLDC from scratch or is there any way to control the timers in the library?
Are there any other, better libraries for controlling BLDCs?
 
Thread starter Similar threads Forum Replies Date
V Microcontrollers 13
Top