Hi, all,
I use my old stm32F407 board to run MicroPython, camparing with the sch of PYboard, there is the diffrence of USB otg. I want to know the PYboard is a master device or a slave device when it is plugged into windows.
Thanks in advance。
py board is a master or slave device
Re: py board is a master or slave device
If you're referring to USB host or USB device, then the pyboard is a USB device (which would correspond to a slave). It is possible to configure the pyboard as a USB host so that you can connect a mouse or keyboard.
Re: py board is a master or slave device
@dhylandsdhylands wrote:It is possible to configure the pyboard as a USB host so that you can connect a mouse or keyboard.
That sounds interesting. So, if I understood you correctly, I can connect a normal USB-keyboard to the pyboard and then send some characters without a PC to the Pyboard?
Can you please give me a hint in the right direction? Thank you!
Re: py board is a master or slave device
I believe that you need to build custom firmware and you may need to add some hardware.
There is a thread in the forum here: viewtopic.php?f=6&t=1032
I believe that Damien also set it up that way to allow the keybaord to be used with one of the MicroPython LCDs, but I couldn't find that in the forum.
There is a thread in the forum here: viewtopic.php?f=6&t=1032
I believe that Damien also set it up that way to allow the keybaord to be used with one of the MicroPython LCDs, but I couldn't find that in the forum.