-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the Serial pins #4
Comments
I think the best bet is to connect the BLE to pins 25/26 of the fub, modify
the library to use these pins (if needed). Can you point to the library
for this module?
Jacob
…On Thu, Jun 27, 2019, 1:25 PM fqantonio ***@***.***> wrote:
I'm using ATMEGA328p with RN4871 BLE. The serial pins I'm using are the
arduino 0,1 ( RX, TX) and not the 25 and 26 of your fubarino. How can I
change that? Thank for your work. Best
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AABQM27DH4Y5WUTHK5SQW73P4UO2RA5CNFSM4H37352KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4FPDKQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABQM2YMOCE57KQ3YVHWYNLP4UO2RANCNFSM4H37352A>
.
|
I think that you can just use the normal Arduino serial object in this line |
fquantinio is not using a Fubarino, but rather a normal Arduino. The library should not need any modifications other than just passing in the proper serial object. |
Yes, that's the problem. To program the ATMEGA328p I use the FTDI (RX TX pins 0,1). But I also use them, when I don't have the FTDI pluged on to the board, for the BLE RN4871. You say if I use only Serial I will use the common pins 0 and 1? |
That's true! But if I also use the same serial to the FTDI (even if it is not pluged into the Board when I'm using the BLE). Use the same serial? FTDI and BLE are exclusives, I use one or the other, not both. |
I think that's right. Just remove all of the 'debug' serial stuff (that's
routed through the "Serial" serial port in the example sketches) and then
use "Serial" for your BLE code.
The trouble is that it's going to be hard for you to debug what's going
wrong with no way to contact the PC with serial prints.
*Brian
…On Thu, Jun 27, 2019 at 3:48 PM fqantonio ***@***.***> wrote:
fquantinio is not using a Fubarino, but rather a normal Arduino. The
library should not need any modifications other than just passing in the
proper serial object.
That's true! But if I also use the same serial to the FTDI (even if it is
not pluged into the Board when I'm using the BLE). Use the same serial?
FTDI and BLE are exclusives, I use one or the other, not both.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AADN4CFIGMHS2P5CFPOAUCTP4URSRA5CNFSM4H37352KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYYKRPI#issuecomment-506505405>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADN4CCTTFHPJZX2KR2DTS3P4URSRANCNFSM4H37352A>
.
|
I'm using ATMEGA328p with RN4871 BLE. The serial pins I'm using are the arduino 0,1 ( RX, TX) and not the 25 and 26 of your fubarino. How can I change that? Thank for your work. Best
The text was updated successfully, but these errors were encountered: