got it , thanks a lot
On Tue, Jul 5, 2011 at 8:18 AM, Adam Bark wrote:
> What Chris is getting at is that you'll use some module, eg pyserial, to
> interface with the serial port. So if you write a little module that has the
> same interface then you can pretend you have a serial port attached de
What Chris is getting at is that you'll use some module, eg pyserial, to
interface with the serial port. So if you write a little module that has
the same interface then you can pretend you have a serial port attached
device and then switch over to an actual one without changing anything
else i
thanks chirs but i think i don't follow you , can you elaborate more ?
Thanks
On Mon, Jul 4, 2011 at 8:49 PM, Chris Fuller
wrote:
>
> You don't need to emulate a serial port (since you're writing the code; you'd
> have to emulate the port if it was standalone software), only your serial port
>
You don't need to emulate a serial port (since you're writing the code; you'd
have to emulate the port if it was standalone software), only your serial port
library. Write a class that has the same methods as the serial port library
you're using (you only need the methods you're using or think