User Profile

Collapse

Profile Sidebar

Collapse
bryanleo
bryanleo
Last Activity: Oct 27 '08, 06:01 AM
Joined: Sep 15 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bryanleo
    replied to Pyserial output does not change
    The flushInput() successfully solved the output changing part. Data seem not to change probably because...

    Here are my theories:
    1. The Input buffer was not accepting new ones. Since there was not interrupt to signal the CPU to read the contents of the Input buffer
    2. Pyserial was reading the data in the input buffer way too slowly. But its so weird how the data can be read this slow.


    Any thoughts...
    See more | Go to post

    Leave a comment:


  • bryanleo
    replied to Pyserial output does not change
    Example.

    When I touch the pins of the microcontroller it outputs a certain value. And then when I execute the program in python it outputs that data from the microcontroller . But when I release my hand or input a certain voltage to the pins of the microcontroller (while the code is running), the output (which is a continuous stream) does not change and still prints the data when the pins were touched.

    So no matter how...
    See more | Go to post

    Leave a comment:


  • bryanleo
    started a topic Pyserial output does not change

    Pyserial output does not change

    We are trying to read data from a microcontroller and interface it through serial port. The output is then displayed in Python using Pyserial or the hyperterminal, the former is more important

    When you touch the input pins of the microcontroller the value changes real time in hyper terminal. But In the case of the pyserial module, even though you touch the input pins, the value does not change. We have actually noticed that python...
    See more | Go to post
No activity results to display
Show More
Working...