Merged
Conversation
'bool' is not 'boolean'
For testing boards packages without having to use the library. Included in the 'extras' folder so as not to confuse end-users.
Testing the received data and callback
On second thought, this requires the send functionality to work *anyways*... It would be better to toggle on an LED, but not all boards have built-in lEDs and even then you need to show 5 states (off/nc, players 1-4) which means 3 LEDs. I'm going to leave this with the 'send' only practical test for now until I can come up with something better. This reverts commit 2e01538.
Boards without built-in LEDs be damned. Turning on an LED (now via rumble data) is by far the easiest way to test that the receive data functions are working properly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a demo sketch to the
extrasfolder for testing the USB API separately from the rest of the library.