Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,056 Views

myserial library for Gen2

Jump to solution

Hi,

I'm looking to create another serial port on my Gen 2.

I can't use Serial2 as a shield I'm using uses pins 2 and 3.

Is there a myserial library for Gen2?

I found this one but it says that it can only be used for pins 2 and 3?

https://github.com/MakersTeam/Galileo/blob/master/Arduino-Examples/SoftwareSerial/SoftwareSerial_Gal... https://github.com/MakersTeam/Galileo/blob/master/Arduino-Examples/SoftwareSerial/SoftwareSerial_Gal...

Thanks

1 Solution
Carlos_M_Intel
Employee
64 Views

Hi conor100,

According to the available speeds in the pins, only the 2 and 3 can be used with this library.

In the SoftwareSerial.cpp you can comment the line assert(receivePin == 2 && transmitPin == 3); so you could try with other pins.

But in the meantime only with the pins 2 and 3.

Regards,

Charlie

View solution in original post

2 Replies
Carlos_M_Intel
Employee
65 Views

Hi conor100,

According to the available speeds in the pins, only the 2 and 3 can be used with this library.

In the SoftwareSerial.cpp you can comment the line assert(receivePin == 2 && transmitPin == 3); so you could try with other pins.

But in the meantime only with the pins 2 and 3.

Regards,

Charlie

View solution in original post

idata
Community Manager
64 Views

I have used a Sparkfun Go Between Shield https://www.sparkfun.com/products/11002 https://www.sparkfun.com/products/11002 to change the shield pin mappings on Arduino's before with great success. It lets you map pins from one pin to another. Maybe that could work if you don't find a software solution.

Reply