ponty / pysimavr

python wrapper for simavr which is AVR and arduino simulator
GNU General Public License v3.0
49 stars 14 forks source link

Udp reader reworked based on asyncore library. #2

Closed vencax closed 12 years ago

vencax commented 12 years ago

It now lets to implement an UART connected device in easy way. And it does not occupy 100% of CPU. Hope its usable. Cheers.

ponty commented 12 years ago

Nice work! It is faster now. The old implementation used blocked IO so it did not have 100% CPU usage, but it was slower. You can add any demo code (like HypotheticDevice) under /examples.

vencax commented 12 years ago

I think the hypotheticDevice is enough and show the way how to implement simulated uard device. Yes it could be in examples but due to its length I suggest to let it where it is now.