I'm doing a program that reads the Arduino output and sends it to a SQLITE3 database.
You're giving me this error:
cursor.execute("INSERT INTO reciclagem_data (personID, nome) VALUES (%s,%s)", (pieces[0], pieces[1]))
OperationalError: near "%": syntax error
personID is the UID of an RFID card and the name is simply the name.
I searched and found that the best date type for the UID would be varchar. I think that error has something to do with it.
What should I do to solve this problem?