However, when Arduino is connected to the PC, for debugging, can the pins 0 and 1 be used?
should i connect the modem to 0 and 1 pins?
I have to use a specific library for serial connection?
when I write serial.println and the Arduino is not connected to the PC, the communication goes through 0 and 1 pins?
are the sentences correct?* pins 0 and 1 do not work when the Arduino is connected to the computer, because then the serial communication is working through the USB port.
*if no additional library is used, pins 0 and 1 don not work for serial communication
As I am using 1.0 the library to employ is SoftwareSerial.
Then I will be able to communicate to the modem.
This is quite strange.... I had no problems to use a bluetooth module connected to pins 0 and 1. No need of new library.
QuoteThis is quite strange.... I had no problems to use a bluetooth module connected to pins 0 and 1. No need of new library. While talking to the serial monitor? Without getting stuff confused on either side?
Just the bluetooth module... using serial.println
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16