Pytrack, usb serial communication and REPL



  • Hi, I have a Wipy2

    >>> os.uname()
    (sysname='WiPy', nodename='WiPy', release='1.7.7.b1', version='v1.8.6-715-g5fa16c2c on 2017-07-20', machine='WiPy with ESP32')
    

    when I plug it on the expansion board i can access it from /dev/ttyUSB0.

    when I plug it to the Pytrack,there is no ttyUSB0, but a /dev/ttyACM0

    is this the correct port? I tried reading/writing the device and it works, but i don't know if there can be any problems.

    As the matter of fact I d'like to use the usb uart without repl, using the pytrack as a sensor server, writing on the serial the data it generates every second.

    however, everytime I read from the serial, I get not only the things I write into the serial, but the complete repl "output", with ">>>" and so on.

    Is it possible to deactivate it on usb and have it only on wifi?

    my boot.py is this:

    uart = UART(0, baudrate=115200)
    # os.dupterm(uart)
    

    so i though that the repl was disabled, but that's not working



Pycom on Twitter