docs-content icon indicating copy to clipboard operation
docs-content copied to clipboard

Typo in Comments in ShiftOut() Tutorial ?

Open Eddiiie opened this issue 4 years ago • 1 comments

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.

Eddiiie avatar Apr 27 '20 04:04 Eddiiie

Just noticed the issue number... Issue 21.. heh

Eddiiie avatar Apr 27 '20 05:04 Eddiiie