Python serial data aquisition

Steve Holden steve at holdenweb.com
Mon Jan 10 05:28:44 EST 2005


Flavio codeco coelho wrote:

> mfuhr at fuhr.org (Michael Fuhr) wrote in message news:<41e1b833$1_3 at omega.dimensional.com>...
> 
>>If the actual byte and/or bit order is different then you'll have
>>to modify the expression, but this should at least give you ideas.
> 
> 
> Thanks Michael and Steve,
> 
> I'll put your Ideas to the test ASAP, meanwhile, could you point me to
> references to these bit operations in Python? I am new to this stuff,
> and might need to do more of this to support other hardware...
> 
> I havent been able to find anything about this on the python
> documentation..
> 
> Thanks a lot!!
> 
> Flavio

ord() is documented in section 2.1 of the library reference manual 
(Built-in Functions) - see 
http://docs.python.org/lib/built-in-funcs.html#l2h-53 for further 
information.

Bitstring operations are at 
http://docs.python.org/lib/bitstring-ops.html#l2h-150

Hope this helps.

regards
  Steve
-- 
Steve Holden               http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/
Holden Web LLC      +1 703 861 4237  +1 800 494 3119



More information about the Python-list mailing list