Re: Python serial data aquisition

From: Miki (miki.tebeka_at_gmail.com)
Date: 01/24/05


Date: 24 Jan 2005 07:24:14 -0800

Hello Flávio,
> My problem is to how to recover my reading from these bytes, since
> pyserial gives me a character (string) from each byte... I dont know
> how to throw away the unneeded bits and concatenate the remaining
> bits to form a number...
See the array module.
Also http://tebeka.bizhat.com/Software/bitter.py

HTH.
Miki



Relevant Pages

  • Re: Binary v. Text, why is it faster?
    ... reading textual data. ... But watch what happens when I concatenate two copies together: ... EOF character per file and it better be the last one. ...
    (comp.programming)
  • Re: That crazy ol UCLA
    ... My husband did more extensive reading on this incident than I, ... the research shows it takes 15 minutes to recover, ...
    (alt.gathering.rainbow)
  • Re: HHB CDR-800 holding a disc hostage
    ... In the Mac world, it's even easier, because the whole disk device can be ... gives you the opportunity to recover ONE file. ... damaged filesystems. ... So you can start reading anywhere and stop reading ...
    (rec.audio.pro)
  • Re: IsDate()
    ... I then concatenate them into the format shown and then ... it is reading the date as DAY / MONTH / YEAR. ... FAQish topics, links, acronyms ...
    (microsoft.public.scripting.vbscript)
  • Re: HHB CDR-800 holding a disc hostage
    ... In the Mac world, it's even easier, because the whole disk device can be ... gives you the opportunity to recover ONE file. ... So you can start reading anywhere and stop reading ... C'est suisse, et tres, tres precis." ...
    (rec.audio.pro)