|How to work with other shields?
|Page 1 of 1|
|Author:||Jasmeet [ Tue Dec 18, 2012 8:49 am ]|
|Post subject:||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 = mySerial.read();
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?
|Author:||mightor [ Tue Dec 25, 2012 3:26 pm ]|
|Post subject:||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 firstname.lastname@example.org and ask them how to achieve this. What kind of shield is this, btw?
|Page 1 of 1||All times are UTC - 5 hours [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group