Python Bluetooth programming is greatly simplified when using our user-friendly libraries. They are event-driven and similarly usable under standard Python (for the Raspberry Pi and PCs with Python2.7), as in TigerJython. A stream based Bluetooth library for Java SE and Android is also available. Python 2.7 Bluetooth library (inkl Doc), Doc online.
I'm looking to capture weights coming off of several in-motion scalesthrough serial ports and dump them into a database. The database part
is easy but I've never worked with serial collection. I would like to
setup several data collection objects (one for each serial port) and as
![Event Event](http://www.virtualpackets.com/wp-content/uploads/2015/03/image_upload.png)
pushes it up to the database for storage. This seems to me to be the
essence of event-driven programming and thus I'm thinking the twisted
python framework is the way to go. I've read the paper on defered
execution and several articles on asynchonis programming but I'm really
having problems wrapping my mind around how this does work (the whole
event driven programming/asynchonis programming paradigm). Any advice
or linkage to some tutorial type articles for event driven design.
Thanks for any input
--
Bobby Castleberry
System Administrator
Meadowbrook Farms Coop
|