klotz: serial*

Bookmarks on this page are managed by an admin user.

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. serialPort = serial.Serial("/dev/ttyAMA0", 57600, timeout=0.5, rtscts=False, dsrdtr=False, xonxoff=True,bytesize=serial.EIGHTBITS,parity=serial.PARITY_NONE)

    while True:   
        #one dataset is around 20000 bytes
        item = serialPort.read(size=20000)
        sys.stdout.write(item)
        sys.stdout.flush()
    2014-05-09 Tags: , , , by klotz

Top of the page

First / Previous / Next / Last / Page 2 of 0 SemanticScuttle - klotz.me: Tags: serial

About - Propulsed by SemanticScuttle