Attach 2 roboclaw to a raspberry pi
Attach 2 roboclaw to a raspberry pi
Hi
i have some problems attaching two roboclaws to my raspberry pi.
With the first roboclaw everything works fine.
rc = Roboclaw("/dev/ttyACM0",115200)
But i'm not sure how i can implement the second one ?
sth like :
rc1 = Roboclaw("/dev/ttyACM(1),115200) ?
Can sb help me ?
Thanks in Advance !
i have some problems attaching two roboclaws to my raspberry pi.
With the first roboclaw everything works fine.
rc = Roboclaw("/dev/ttyACM0",115200)
But i'm not sure how i can implement the second one ?
sth like :
rc1 = Roboclaw("/dev/ttyACM(1),115200) ?
Can sb help me ?
Thanks in Advance !
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Attach 2 roboclaw to a raspberry pi
the second Roboclaw should appear as ttyACM1. You can look in your /dev folder to see if it appears when you plug it in and what the name comes up as.