hello I'm trying to read serial BT string, the basic code is:
While (SerialBT.availible()) {
Character = SerialBT.read();
tmp_bt.concat(Character);
}
If (tmp_bt.equals(string)) {
//Do that
}
string is predetermined text, if returns false, any advice what could go wrong?
Search found 2 matches
- Mon Jan 25, 2021 7:48 pm
- Forum: ESP32 Arduino
- Topic: Reading serialBT string and compare it to another string
- Replies: 1
- Views: 2424
- Tue Jan 19, 2021 8:15 pm
- Forum: Hardware
- Topic: MFRC522 - A fatal error occurred: Timed out waiting for packet content
- Replies: 1
- Views: 2344
MFRC522 - A fatal error occurred: Timed out waiting for packet content
Hello I'm using esp32 Devkit v4. the ESP connected to mfrc522 development board (https://robotdyn.com/rfid-reader-writer-nfc-module-mfrc522.html) using VSPI (MISO pin 12, MOSI pin 13, SS pin 15, SCP pin 14). When i'm trying to boot or program the ESP, i get error - "A fatal error occurred: Timed out...