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

Add string support for spi.set_mosi() and spi.get_miso() #1753

Merged
merged 1 commit into from
Feb 6, 2017

Conversation

devsaurus
Copy link
Member

Fixes #1745.

  • This PR is for the dev branch rather than for master.
  • This PR is compliant with the other contributing guidelines as well (if not, please describe why).
  • I have thoroughly tested my contribution.
  • The code changes are reflected in the documentation at docs/en/*.

This PR adds variants of spi.set_mosi() and spi.get_miso() that accept and return data as string, respectively.
Along with the API extension, the endianess handling in the spi driver has been unified.

clean-up endianess handling in spi driver
@djphoenix djphoenix added this to the 2.0.0-follow-up milestone Feb 2, 2017
@marcelstoer marcelstoer merged commit 416d53e into nodemcu:dev Feb 6, 2017
@devsaurus devsaurus deleted the spi_mosi-miso branch February 6, 2017 19:52
eiselekd pushed a commit to eiselekd/nodemcu-firmware that referenced this pull request Jan 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants