I need a very simple application written with Python that will run on Raspberry Pi.
I've attached to raspi an already detected device that reads RFiD Cards. This device is recognized like ttyACM0, what I need is:
1- A Process that is always looking for new data on this serial port
2- When detected new data it will run an URL posting the collected data
3- If the answer from the URL is 1 it will trigger one GPio Pin to high for 1 second