View unanswered posts | View active topics It is currently Sun Jul 12, 2020 6:40 am

Reply to topic  [ 2 posts ] 
How to work with other shields? 
Author Message

Joined: Sat Dec 15, 2012 11:51 am
Posts: 2
Location: New Delhi, India
Post How to work with other shields?
I'm new to RobotC for Arduino.
I have a shield (not available in the Plugin Shields in RobotC for Arduino 'Motors and Sensors Setup') that uses the Digital Pins 3 and 4 on Uno/Mega as RX and TX respectively.
With Arduino I've used the Software Serial Library to read integer/char data from the shield. For example-

SoftwareSerial mySerial = SoftwareSerial(3, 4);
int byteRead =;

But I'm not sure how to do this using RobotC.
Is specifying the pins as Digital Input and Digital Output the right way to do this?
Can anybody help?

Jasmeet Singh

Tue Dec 18, 2012 8:49 am
Profile WWW
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: How to work with other shields?
I guess you could bit-bang a serial port on the digital pins but it would be slooooow. I don't know if ROBOTC for Arduino supports software serial. You could send a mail to and ask them how to achieve this. What kind of shield is this, btw?

= Xander

| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]

Tue Dec 25, 2012 3:26 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.