Go Down

Topic: MySQL & Arduino (Read 158 times) previous topic - next topic

xIceFox

Feb 25, 2019, 08:39 pm Last Edit: Feb 25, 2019, 08:40 pm by xIceFox
Hey guys,
im stuck. again.

Im working on a RFID based System, which is recording the time the users were on the event.

The system works fine.

Arduino calls the Procedure via MYSQL Library "call LogIn(RFIDNumber ,TerminalNumber)" and I want to give a Variable back to the Arduino if the Procedure was sucessfull or not. (I can detect with the Procedure if on user logged in twice and then it should send this back to the Arduino)

You got any ideas how to do it? I tried yet with the OUT Parameters, but it didn't work.

Thanks to all helping me :)

PaulS

Quote
and I want to give a Variable back to the Arduino
You can't do that. You can give values back, and the value may be whatever is currently stored in some variable, but it is not the variable being passed back.

Quote
You got any ideas how to do it?
Yes. But, exactly how depends on way to many factors that you have not disclosed.

Post the Arduino code, at a minimum.

Quote
Arduino calls the Procedure
No, it most certainly does NOT do that.
The art of getting good answers lies in asking good questions.

Go Up