Hi,
For a project, I would nice twice serial communication on (if possible) an arduino uno: once with a PC and a second time with another arduino some 20 meters away (using MAX485 RS485 line-drivers ICs).
I know the uno only has one single UART (which I want to use for the serial communication with the PC), so I was wondering if there are any libraries out there that enable serial communication between arduinos over pins other then UART pins.
This is just to send a couple of command and some result-codes from time to time, so speed is not at all an issue.
If it does not exist, would an interrupt-driven function that switches an output pin at a certain rate (depending if you want to send a "0" or "1") be a good starting-point? Or is using the PWM functionality of output pins an option?
Cheerio! Kr. Bonne
ON1ARF