Search found 3 matches

by mikhail
Thu Oct 31, 2019 4:59 am
Forum: General Discussion and Questions
Topic: emulating joystick USB-HID
Replies: 4
Views: 13883

emulating joystick USB-HID

Hello. I would like to make a USB joystick with pyboard. I know there are examples of using pyboard to emulate a keyboard and a mouse, but I have no clue what do I have to change in a mouse example so the connected pyboard will be recognized by the PC as a Joystick. Is it even possible with pyboard?...
by mikhail
Sun Sep 02, 2018 5:38 am
Forum: Programs, Libraries and Tools
Topic: unittest usage with micropython
Replies: 2
Views: 4299

Re: unittest usage with micropython

Thank you. It seems it works. I run my test using:

repl ~ import unittest ~ unittest.main('tests') ~
by mikhail
Sat Sep 01, 2018 2:36 am
Forum: Programs, Libraries and Tools
Topic: unittest usage with micropython
Replies: 2
Views: 4299

unittest usage with micropython

I have some experience with using standard unittest library with Python3.6 on PC. But it seems like uPy version of this library is a bit different. (https://github.com/micropython/micropython-lib/tree/master/unittest) If I place my test_project.py in the same directory with my main project, I can ru...