Page 1 of 1

Connect the DUP class to dupterm.

Posted: Wed Jul 04, 2018 2:47 am
by forester3
Hi,

DUP class is in this topic.
viewtopic.php?f=2&t=3298&p=23087&hilit=dupterm#p23087

With the latest uos_dupterm, I can not connect the DUP class to dupterm.
Is this normal?

Error message is below:
OSError: stream operation not supported

In v1.9.4 stm32F4 micropython, I can connect the DUP class to dupterm.

Re: Connect the DUP class to dupterm.

Posted: Wed Jul 04, 2018 10:36 am
by Damien
There was a recent change to how this stuff works behind the scenes and you now need to derive the DUP class from io.IOBase: class DUP(io.IOBase) ...

Re: Connect the DUP class to dupterm.

Posted: Wed Jul 04, 2018 2:28 pm
by forester3
Hello,

Thank you for your answer.
I am preparing the LcdConsole class which works on F7-disco LCD now.
So, I wanted to know how to connect to the new dupterm.