Commit Graph

12 Commits

Author SHA1 Message Date
lathoub 5699e3fe00 cleanup of basic example
use LED_BUILTIN
2020-03-22 15:34:12 +01:00
lathoub d6ac0f6b82 + receiver ActiveSensing, + error Callback
1) Active Sensing:
Once an ActiveSensing message is received, the system checks for timeouts: if no message is received within the specified 300ms (see in _Defs), an error is set and the checks for timeout stop.

2) added a callback for errors. 2 errors are defined: parse error and ActiveSensing timeout
2020-03-22 15:33:42 +01:00
lathoub 8893642b27 added send(MidiMessage), added (untested) bridge example
added send(MidiMessage) for Bridge application (that convert MIDI transport x into MIDI transport y), avoiding parsing entry a stream, setting up all callback - whilst this allows for passing the content, without to much processing/parsing.

Had to move mPendingMessageExpectedLenght into MidiMessage to avoid parsing the data again, just to know the size

Added Bridge example (untested)
2020-03-09 23:05:44 +01:00
lathoub 8905d36c0e added callback for Message
before the specific callback are called, a generic mMessage callback can be fired to inform the user that 'a' message has been received.
2020-03-09 09:40:44 +01:00
Francois Best 39d13e8ac4 feat: Add MIDI USB test sketches 2018-11-06 16:55:51 +01:00
Francois Best 253e41acc6 Add dep to MidiUSB for specific example & guards for non-usb boards. 2016-11-02 00:05:27 +01:00
Francois Best 29c705fbfa Cleanup. 2016-11-02 00:04:07 +01:00
Francois Best 0fabf63d49 Added reference to issue #60. 2016-10-30 09:09:06 +01:00
Francois Best cf8761379c Skipping USB test for now. 2016-10-11 09:02:11 +02:00
Francois Best 73dfc79815 Fix examples. 2016-10-10 17:16:04 +02:00
Francois Best ff6bf0111b Added MidiUSB example (wip). 2016-10-10 17:05:59 +02:00
Francois Best 606e732490 Moved examples & keywords.txt to follow 1.5 lib spec. 2016-10-10 15:38:08 +02:00