Search found 64 matches

by fpp
Sat Oct 08, 2016 11:57 am
Forum: MicroPython pyboard
Topic: Basic USB HID test failing...
Replies: 46
Views: 34476

Re: Basic USB HID test failing...

I finally got to spend some time on documenting our adventures here on the Wiki : http://wiki.micropython.org/USB-HID-Keyboard-mode-example-a-password-dongle Feedback is always welcome. If anyone feels like moving this inside the official documentation (alongside the HID mouse example maybe), feel f...
by fpp
Tue Oct 04, 2016 2:29 pm
Forum: ESP8266 boards
Topic: sonoff: wifi-based switch-box running micropython & MQTT
Replies: 8
Views: 11305

Re: sonoff: wifi-based switch-box running micropython & MQTT

Fun project !
Now I understand what is keeping you away from your keyboard controller idea :-)
by fpp
Thu Sep 22, 2016 7:24 am
Forum: MicroPython pyboard
Topic: Basic USB HID test failing...
Replies: 46
Views: 34476

Re: Basic USB HID test failing...

Thanks for the confirmation, it wasn't just a false impression then :-) I think I'll still put up in there a summary of what I have working, thanks to the contributions of everybody in this thread, and then see if someone is willing to port it to the official docs (next to the HID mouse example seem...
by fpp
Tue Sep 20, 2016 9:33 am
Forum: WiPy and CC3200 boards
Topic: NEW: WiPy 2.0 - shipping 10 Oct 2016
Replies: 62
Views: 77443

Re: NEW: WiPy 2.0 - shipping 10 Oct 2016

What unit is "KM" I have no idea, but it may as well be that 1KM is equal about 100m, and then everything is right.
Not really, as it would also mean that we are all living in different spacetime references...

My bet is on KM = kilo milimeters :-)
by fpp
Tue Sep 20, 2016 8:41 am
Forum: MicroPython pyboard
Topic: Basic USB HID test failing...
Replies: 46
Views: 34476

Re: Basic USB HID test failing...

Ah, thanks for that, by focusing on Github I had managed to completely overlook the traditional one on this site...

It does look a bit... redundant, semi-abandoned or at least under-promoted ?

It's the most accessible to me however, so I'll give it a spin...
by fpp
Mon Sep 19, 2016 7:45 pm
Forum: MicroPython pyboard
Topic: Basic USB HID test failing...
Replies: 46
Views: 34476

Re: Basic USB HID test failing...

Ah, thanks for reminding me of that !

But it serves a very different purpose than the docs, doesn't it ?
More for the development and porting of uPy itself, than for end-user tutorials or sample code (which seems quite normal).
by fpp
Mon Sep 19, 2016 6:32 pm
Forum: MicroPython pyboard
Topic: Basic USB HID test failing...
Replies: 46
Views: 34476

Re: Basic USB HID test failing...

I'm not sure what the Windows issue would be. Calling pyb.usb_mode only does actual USB configuration the first time its called. After that, it skips all of the USB initialization and just stashes away the hid= parameter which would in effect wind up changing the first byte when you send the hid da...
by fpp
Sun Sep 18, 2016 5:04 pm
Forum: MicroPython pyboard
Topic: Basic USB HID test failing...
Replies: 46
Views: 34476

Re: Basic USB HID test failing...

The pyboard may be able to do that, but from my recent adventures I have doubts about the capability to reconfigure in real time on the Windows end... Worth trying on a rainy day though :-) BTW, do you know how/whom to ask to get a new tutorial added to the docs ? The results of this thread could be...
by fpp
Sun Sep 18, 2016 9:01 am
Forum: MicroPython pyboard
Topic: Basic USB HID test failing...
Replies: 46
Views: 34476

Re: Basic USB HID test failing...

Ah, got it. These are really well made docs ! It also explains the other line I didn't understand, as the value got squashed afterwards : buf[0] = 0x01 # Keyboard If I understand correctly, the choice for the uPy API precludes using a pyboard as a mongrel HID device (kb + mouse + pad), which is allo...