SERIAL COMMUNICATION

Hi people...

Im Juliano rom France...

I have some question about serial communication between ARDUINO and another any component.

Firstly, I know that We can to communicate the ARDUINO and a Computher By a USB port...

When we use the SERIAL.PRINT command we send a string to the computer...
How Can I do the same with an another peripherical component connected to the ARDUINO by SERIAL on port 7 (b.ep) if we have already a usb Serial communication ????

Thanks for your help,

JLux

OK Answer is here: http://www.arduino.cc/en/Tutorial/SoftwareSerial

In this tutorial you will learn how to implement Asynchronous serial communication on the Arduino in software to communicate with other serial devices. Using software serial allows you to create a serial connection on any of the digital i/o pins on the Arduino. This should be used when multiple serial connections are necessary. If only one serial connection is necessary the hardware serial port should be used. This is a general purpose software tutorial, NOT a specific device tutorial. A tutorial on communicating with a computer is here. Device specific tutorials are on the Tutorial Page. For a good explanation of serial communication see Wikipedia. The software serial connection can run at 4800 baud or 9600 baud reliably.

Juliano+

BUT

Supposing that I Neesd to send that COMMAND to a SERIAL peripheric:

Serial.Print Chr(&H80) ; Chr(&Ha4) ; Chr(&H30) ; Chr(&H02) ; Chr(&H09) ...

Can I do like that???

Serial.Print Chr(&H80) ; Chr(&Ha4) ; Chr(&H30) ; Chr(&H02) ; Chr(&H09) ...

This isn't C - where did you find this code?

If you're asking can you use the "print" and "println" methods with a SoftwareSerial object, then the answer is "yes".