Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

ROBOIO lib

Based on DMP's Vortex processor / SoC this board is a full computer capable of running a standard Windows and Linux installation on the backpack of your robot.
2 postsPage 1 of 1
2 postsPage 1 of 1

ROBOIO lib

Post by hellu » Fri Dec 02, 2011 12:15 am

Post by hellu
Fri Dec 02, 2011 12:15 am

What libraries must i close when i use roboio.rcservo ? At the start of my program i open the spi,i2c and rcservo. At a point in my program i must close and open a gpio port and it says that i cannot both use RCSERVO and PWM lib at the same time.
Thanks for the help!
What libraries must i close when i use roboio.rcservo ? At the start of my program i open the spi,i2c and rcservo. At a point in my program i must close and open a gpio port and it says that i cannot both use RCSERVO and PWM lib at the same time.
Thanks for the help!
hellu
Robot Builder
Robot Builder
Posts: 18
Joined: Thu Jan 06, 2011 5:34 pm

Post by roboard » Fri Feb 10, 2012 8:59 am

Post by roboard
Fri Feb 10, 2012 8:59 am

If you had initialized roboio.rcservo, then you want to change one pin to

another mode, you should close roboio.rcservo (rcservo_Close) and initialize it

(rcservo_Init) again.
If you had initialized roboio.rcservo, then you want to change one pin to

another mode, you should close roboio.rcservo (rcservo_Close) and initialize it

(rcservo_Init) again.
roboard
Savvy Roboteer
Savvy Roboteer
Posts: 302
Joined: Fri Jul 03, 2009 4:44 am


2 postsPage 1 of 1
2 postsPage 1 of 1