Skip to content

Typo in Comments in ShiftOut() Tutorial ? #366

Open
@Eddiiie

Description

@Eddiiie

Hello,

I have been looking at the Serial to Parallel Shift Register Tutorial, having to port the ShiftOut() function to another platform. Reading this page, https://www.arduino.cc/en/Tutorial/ShftOut21 , I am not sure if it is me, or the comment has a typo. Not really sure what to suggest as a fix.

//if the value passed to myDataOut and a bitmask result 
// true then... so if we are at i=6 and our value is
// %11010100 it would the code compares it to %01000000 
// and proceeds to set pinState to 1.

Also, what does it mean by "a bitmask result" ? Isn't everything a bitmask or some sort?

Mind blown.

Thank you for your work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcommunityBugs and fixes suggested by the communitymaker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions