by Fritzoid » Wed Feb 13, 2013 2:57 pm
by Fritzoid
Wed Feb 13, 2013 2:57 pm
Technically this is possible. Each of the ports on the CM-510 has a pin that's wired to a digital port on the AVR (PA2-PA7). Any one of these could be used to implement a software driven serial line. You would have to be using embedded-C, with all that entails, to even think about implementing this kind of functionality.
The Arduino library has built-in support for type of software serial lines you are asking about. Because the CM-510 and the Arduino Mega are based on the same architecture, it should be possible to port the Arduino code over to your application. I don't know of anyone who has tried this and there could be other problems that make it unworkable but it may be worth looking into.
Technically this is possible. Each of the ports on the CM-510 has a pin that's wired to a digital port on the AVR (PA2-PA7). Any one of these could be used to implement a software driven serial line. You would have to be using embedded-C, with all that entails, to even think about implementing this kind of functionality.
The Arduino library has built-in support for type of software serial lines you are asking about. Because the CM-510 and the Arduino Mega are based on the same architecture, it should be possible to port the Arduino code over to your application. I don't know of anyone who has tried this and there could be other problems that make it unworkable but it may be worth looking into.