I looked at this on a pyboard a while ago, this thread https://github.com/micropython/micropython/pull/955 suggests you should be able to set up usb as a midi hid device in pure micropython.
But the pyb functions described are undocumented, may have been removed.
Tim
Search found 65 matches
- Tue May 03, 2016 1:20 am
- Forum: Drivers for External Components
- Topic: Adding USB-MIDI support to stmhal port?
- Replies: 4
- Views: 7837
- Wed Apr 13, 2016 11:03 am
- Forum: General Discussion and Questions
- Topic: How to reduce the memory consumption of the object definition
- Replies: 25
- Views: 21603
Re: How to reduce the memory consumption of that objet definition
That will be an interesting/useful feature. I'm working on a micro SNMP library and have realised that I can't really achieve everything I want to without representing at least mib-2 as a tree. I'm working on the assumption that nested python objects will be unwieldy for something that'd only ever b...
- Fri Nov 20, 2015 11:55 am
- Forum: WiPy and CC3200 boards
- Topic: select module supports sockets?
- Replies: 0
- Views: 6658
select module supports sockets?
I've built a very simple extendable http server library https://github.com/PinkInk/upylib/tree/master/uhttpsrv , but I want to update it so that it is non-blocking so that I can read sensors etc. at the same time. Elsewhere on the forum an example similar to the following was given, using select.sel...
- Sat Nov 14, 2015 4:46 pm
- Forum: WiPy and CC3200 boards
- Topic: where to report wipy specific micropython issues?
- Replies: 2
- Views: 3796
Re: where to report wipy specific micropython issues?
Duh, that was too obvious
Opened #1623
Opened #1623
- Sat Nov 14, 2015 3:21 pm
- Forum: WiPy and CC3200 boards
- Topic: where to report wipy specific micropython issues?
- Replies: 2
- Views: 3796
where to report wipy specific micropython issues?
Not sure where to report this issue, which appears to be wipy specific?
The following;
works on the pyboard, but hangs the wipy at a.test(b'test') ...
The following;
Code: Select all
>>> class A:
... def test(self, attr):
... print(hasattr(self, attr))
...
>>> a=A()
>>> a.test('test')
True
>>> a.test(b'test')
False
- Fri Jun 19, 2015 8:05 am
- Forum: Drivers for External Components
- Topic: AMP Skin Mic
- Replies: 2
- Views: 4255
- Fri Jun 19, 2015 5:53 am
- Forum: Drivers for External Components
- Topic: AMP Skin Mic
- Replies: 2
- Views: 4255
AMP Skin Mic
Does anyone know which pin/adc the amp skins mic/pre-amp output is on? Capturing audio is not covered in the tutorial, and I can't find a schematic for the skin.
Tim
Tim
- Mon May 18, 2015 3:07 pm
- Forum: Hardware Projects
- Topic: Modules - Device Drivers
- Replies: 21
- Views: 161250
Re: Modules - Device Drivers
@SpotlightKid - In my eagerness to try your midi module with GarageBand on an iPad I connected a 9v to Gnd and, whoops, 3v3 ... so that little test will have to wait till my replacement pyboards turn up
But if it works; what a way to enthuse my kids to take up Python ...
But if it works; what a way to enthuse my kids to take up Python ...
- Thu Nov 06, 2014 2:58 pm
- Forum: General Discussion and Questions
- Topic: MicroPython for machine vision project?
- Replies: 4
- Views: 9955
Re: Advice please
http://hackaday.io/project/1313-openmv You might find interesting ...
- Wed Oct 08, 2014 1:20 am
- Forum: General Discussion and Questions
- Topic: Playing with Interrupts
- Replies: 21
- Views: 26929
Re: Playing with Interrupts
You allocated memory for i? I think it'll work if you use an existing property of the class in the loop.