We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In mpsse.c, lines 274-275:
/* Clock, data out, chip select pins are outputs; all others are inputs. */ mpsse->tris = DEFAULT_TRIS;
in mpsse.h, line 114:
'#define DEFAULT_TRIS (SK | DO | CS | GPIO0 | GPIO1 | GPIO2 | GPIO3) /* SK/DO/CS and GPIOs are outputs, DI is an input */
Pins that should be set as inputs are set as outputs. Quick fix:
#define DEFAULT_TRIS (SK | DO | CS) /* SK/DO/CS are outputs, others are inputs */
The text was updated successfully, but these errors were encountered:
Set all gpio default as input, and allow set direction for low port later: https://github.com/dukelec/libmpsse
Sorry, something went wrong.
No branches or pull requests
In mpsse.c, lines 274-275:
in mpsse.h, line 114:
Pins that should be set as inputs are set as outputs.
Quick fix:
The text was updated successfully, but these errors were encountered: