arduino12 / rdm6300

A simple library to interface with RDM6300 RFID reader.
GNU General Public License v3.0
92 stars 32 forks source link

Add listen function for external call. #13

Closed asas1asas200 closed 3 years ago

asas1asas200 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.

arduino12 commented 3 years ago

Great work @asas1asas200 ! Thanks..!

arduino12 commented 2 years ago

@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 commented 2 years ago

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-