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

Updating dataMode in beginTransaction() #240

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Conversation

lewispg228
Copy link
Contributor

Description of Change

Arduino libraries should update SPI settings when beginTransaction() is called with a complete struct of SPISettings is passed in as an argument.

  • Feature: SPI
  • API Updates: beginTransaction()

Tests and Environments

  • Hardware: Sparkfun NoraW306
  • ambd_arduino V3.1.8
  • Arduino IDE 2.3.2
  • Windows 11

This PR fixes issue #239

-accepting the member (_dataMode) of user argument SPISettings
-updating library variable dataMode before sending that to spi_format().
@M-ichae-l M-ichae-l merged commit d47fd13 into Ameba-AIoT:dev Jul 15, 2024
11 checks passed
@lewispg228
Copy link
Contributor Author

Hi @M-ichae-l ,
Thank you for accepting this PR.

When do you think you will do a new release?

@M-ichae-l
Copy link
Collaborator

I believed that the latest early release is done last week. https://github.com/ambiot/ambd_arduino/releases/tag/V3.1.8-QC-V02
Let us discuss further if needed.

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.

2 participants