Skip to content

Update RGB LED section on Cheat-sheet #754

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

Merged
merged 3 commits into from
Feb 9, 2023
Merged

Conversation

mcmchris
Copy link
Collaborator

@mcmchris mcmchris commented Jan 8, 2023

What This PR Changes

  • Declaring the namespace as follows: "using namespace nicla;" doesn't work in the Arduino IDE, so it's necessary to name it before each statement (ex. nicla::leds.setColor(red);).

Please test this by yourself and let me know if it works for you. I tested it on IDE 2.0.3 and 1.8.19

Contribution Guidelines

Declaring the namespace as follows: "using namespace nicla;" doesn't work in the Arduino IDE, so it's necessary to name it before each statement (ex. nicla::leds.setColor(red);).

Please test this by yourself and let me know if it works for you. I tested it on IDE 2.0.3 and 1.8.19
@CLAassistant
Copy link

CLAassistant commented Jan 8, 2023

CLA assistant check
All committers have signed the CLA.

@sebromero
Copy link
Contributor

@mcmchris Well spotted! There was a breaking change in a core release that fell through the cracks in the documentation. Thank you!

@sebromero
Copy link
Contributor

@mcmchris Can you sign the CLA so we can merge this?

@mcmchris
Copy link
Collaborator Author

mcmchris commented Feb 9, 2023

@mcmchris Can you sign the CLA so we can merge this?

Done!

Copy link
Contributor

@sebromero sebromero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sebromero sebromero merged commit ec93fdf into arduino:main Feb 9, 2023
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.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy