Skip to content

Cast a constant for shifts > 14 steps#911

Open
BloodyNewbie wants to merge 1 commit into
arduino:masterfrom
BloodyNewbie:patch-2
Open

Cast a constant for shifts > 14 steps#911
BloodyNewbie wants to merge 1 commit into
arduino:masterfrom
BloodyNewbie:patch-2

Conversation

@BloodyNewbie

Copy link
Copy Markdown
Contributor

This took me some while to find my error: left-shifting a "1" more than 14 steps requires a casting of the "1" to get reasonable results (e.g. required for setting a variable that is used for a set of 4 daisy-chained shift registers)

This took me some while to find my error: left-shifting a "1" more than 14 steps requires a casting of the "1" to get reasonable results (e.g. required for setting a variable that is used for a set of 4 daisy-chained shift registers)
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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