-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hi @jpliew, I'm not able to read or write data while using the library through the serial port with baud 9600.
Do you have any suggestion on how to handle this problem? It's necessary to me to exchange text data between Arduino and my external code alongside the library execution that reads Wiegand data.
Thanks for your support.
// ...
void setup() {
Serial.begin(9600);
wg1.begin(1,2,Reader1D0Interrupt,Reader1D1Interrupt);
}
void loop() {
if (Serial.available() > 0) {
String command = Serial.readString();
Serial.println(command);
}
if(wg1.available())
{
Serial.println(wg1.getCode());
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested