I tried to find library in c for "raspberry pi" simiar SoftwareSerial in Arduino environment. Which can turn any two gpio-pins to uart mode. Can you help me?
P.S. Sorry for bad english, i'm russian.
While possible, even though a Pi is much much faster than an ATmega, it's going to be tricky due to the nature of Linux - multi-tasking, pre-emptive, etc. You need fairly accurate timing to clock the serial date out correctly and consistently.jov wrote:I tried to find library in c for "raspberry pi" simiar SoftwareSerial in Arduino environment. Which can turn any two gpio-pins to uart mode. Can you help me?
P.S. Sorry for bad english, i'm russian.
Be warned that there are incompatibilities between some RS232/USB adapters and the usb port of the Pi.gordon@drogon.net wrote: While possible, even though a Pi is much much faster than an ATmega, it's going to be tricky due to the nature of Linux - multi-tasking, pre-emptive, etc. You need fairly accurate timing to clock the serial date out correctly and consistently.
I think you'll be far better off looking for USB serial adapters.
-Gordon