Skip to content

USB API Example#14

Merged
dmadison merged 6 commits intomasterfrom
api-example
Mar 30, 2019
Merged

USB API Example#14
dmadison merged 6 commits intomasterfrom
api-example

Conversation

@dmadison
Copy link
Copy Markdown
Owner

Adds a demo sketch to the extras folder for testing the USB API separately from the rest of the library.

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.
@dmadison dmadison merged commit 45179d5 into master Mar 30, 2019
@dmadison dmadison deleted the api-example branch March 30, 2019 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant