Skip to content

Conversation

@asas1asas200
Copy link
Contributor

I have added a listen function to call the internal listen function of _serial.

If I use Arduino UNO, I can only use one SoftwareSerial at a time.
And the SoftwareSerial.listen() function can help us to switch between multiple serials.
Add this feature for more flexibility.

@arduino12
Copy link
Owner

Thanks for your explanation and great work!
Please also add them to the keywords file as well,
Also it will be nice to keep the original conventions and call it is_listening but it is your choice :)
Will merge after your next commit :)

@arduino12
Copy link
Owner

Also if you have the time to add a simple example demonstrating the use of these function for me and others to see it will be super nice 🥇 maybe create 2 Rdm6300 instances for example?

@asas1asas200
Copy link
Contributor Author

I have added an example for it!
And I didn't notice the class member transition of _serial because I read the release version, but it's fixed now.

@asas1asas200 asas1asas200 force-pushed the zeng-feat-listen_func branch from 8ea41f8 to a9ce453 Compare August 14, 2021 22:52
@asas1asas200 asas1asas200 force-pushed the zeng-feat-listen_func branch from a9ce453 to 8053570 Compare August 14, 2021 22:55
@arduino12 arduino12 merged commit 1a8e5f6 into arduino12:master Aug 15, 2021
@arduino12
Copy link
Owner

Great work @asas1asas200 !
Thanks..!

@arduino12
Copy link
Owner

@JessicaWoods03
They comes with the Arduino core environment,
Just google "arduino stream.h" and find them on the Arduino repo.

Also,
This is not the place to ask such questions that are not related to this pull request..

@JessicaWoods03
Copy link

Oh, sorry...this is the site I am directed to when I am working with rdm_6300...it continues to come back to this site, I am new to using Arduino's.....he has three header files listed on his header that I was not familiar with as far as were to get those-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants