Serial.list() can't work in python mode


#1

code is very simply. But can’t work.

add_library('serial')
def setup():
    size(200,200)
    print Serial.list()
def draw():
    background(0)

The version is 3.3.7
And I also installed a processing version 2.2.1, in this version this code can work in the same computer.

Is anyone know what happened and how to let 3.3.7 work?


#2

I’ve got it working by going back to Python Mode build 3035 in place of current 3038 (3039 at its repo). :smile_cat:
Build 3035 was in the subfolder “old/” btW. :money_mouth_face:
Anyways, you should report the issue here: :face_with_thermometer: