recieve data on serial port

I’d like to send a string to my OpenMV via the serial port (USB)
and read it in MicroPython.
This will use the same connection used by “print”.
Effectively I want the reverse of

print()

, to the same port.
It might be called

read()

but I can’t find
anything other than UART for different pins, not the USB connection.

You have to use the VCP port:

See the VCP example under board control. Note that you can’t use the IDE anymore once you start using the VCP port. So, turn this logic on only once you are done debugging…

http://docs.openmv.io/library/pyb.USB_VCP.html