Skip to content
New issue

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

Note different CS SPI pin for SD Card on Hypnos #71

Open
NathanJesudason opened this issue Feb 14, 2023 · 0 comments
Open

Note different CS SPI pin for SD Card on Hypnos #71

NathanJesudason opened this issue Feb 14, 2023 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@NathanJesudason
Copy link
Collaborator

Describe the bug

While the SD CS pin is 10 for eDNA, it's 11 for Hypnos. Because we had set the shift reg clock pin to 11, normally this wouldn't cause issues because it's still set to output mode (and we wouldn't really test with shift registers on a hypnos). But when I removed those constants on the SPI branch, the pinmode for 11 was never set so SD card reading didn't work. In the future, we need that to be a pin that changes between LIVE (eDNA) and DEBUG (Hypnos)

Expected behavior
Debug mode should be ready for Hypnos without having to change the code.

Additional context
Acceptance Criterion: Add pin change to Debug mode, and note that shift registers aren't expected to run on a sampler in debug mode

@NathanJesudason NathanJesudason added bug Something isn't working documentation Improvements or additions to documentation labels Feb 14, 2023
@NathanJesudason NathanJesudason self-assigned this Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant