Society of Robots - Robot Forum

Software => Software => Topic started by: KurtEck on November 13, 2010, 03:10:03 PM

Title: Arduino (mega) and shields... In this case servoshield...
Post by: KurtEck on November 13, 2010, 03:10:03 PM
I am playing around with an Arduino Mega (actually a seeeduino Mega) with webbotlib.  I first used the board developer to create my own board for this... Now I have my phoenix code ported over from Arduino environment and starting to debug...   Currently I am still using an SSC-32 to control the servos, but I am thinking of playing around with a servo shield: http://www.renbotics.com/products/servoshield.php. (http://www.renbotics.com/products/servoshield.php.)

This shield on an Atmega1280 based Arduino uses Timers 1 and 3 as well as several specific IO pins.  So my question is that what is the best way to specify this information to Project designer.  Obviously I can define the specific IO pins, but is there a proper way to tell webotlib that I am using two timers and to allow me to define the ISRs...

Thanks
Kurt

P.S. - This is where using an Axon(2) is a lot easier.