Is is possible to create 2 newSoftSerials?
QuoteIs is possible to create 2 newSoftSerials? It is possible to make two instance of NewSoftSerial, but only one instance can listen at a time. You really need an Arduino that has more than one hardware serial port, or you need to connect one of your RFID readers to the hardware serial port.
Is it possible to solve this in the software, by letting the rfid-readers listen in turns?
and how would this be done?
I am currently using the Arduino Uno, which uses the 0 and the 1 port for serial communication, is it possible to use these ports?
I also need to send data to processing which occupies the usb port, I once read the usb port can't be used at the same time as the 0 and 1 port is this correct?
How long does each reader spend listening?
in between the switches I have a delay(100);
Quotein between the switches I have a delay(100);During which time, squat happens.Get rid of delay(). Do not even consider using it, except for millisecond pauses for switch debouncing.
I used it for not overloading my processing with data.Now I have a delay(1), instead of a delay(100); and use a counter to send once every 100 ms to my serial port.