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

STM32 update #440

Merged
merged 2 commits into from
Dec 20, 2019
Merged

STM32 update #440

merged 2 commits into from
Dec 20, 2019

Conversation

fpistm
Copy link
Contributor

@fpistm fpistm commented Dec 19, 2019

Hi,

This PR update the Boards.h definition for the STM32 core.
Since the release 1.8.0, the analog pins can be not contiguous.
That's why, I defined 2 new functions at core level:

  • pinIsAnalogInput
  • digitalPinToAnalogInput

I also add a check to the core version to ensure backward compatibility.

Thanks

Not all STM32 boards have a LED_BUILTIN.

Signed-off-by: Frederic Pillon <[email protected]>
Since STM32 core version 1.8.0, analog pins definition
can be not contiguous

Signed-off-by: Frederic Pillon <[email protected]>
@soundanalogous soundanalogous merged commit 0b52369 into firmata:master Dec 20, 2019
@fpistm fpistm deleted the STM32_Update branch December 20, 2019 04:58
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