Skip to content

Commit

Permalink
Merge pull request #56 from NoHomey/patch-4
Browse files Browse the repository at this point in the history
#57 [DOCUMENTATION] wiringPiI2CReadReg16 second argument should be reg instead of red
  • Loading branch information
nekuz0r authored Oct 16, 2016
2 parents 63c92bf + 3332f8a commit 97f7fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ Some devices present data when you read them without having to do any register t

This read an 8-bit value from the device register indicated.

### wiringPiI2CReadReg16(fd, red)
### wiringPiI2CReadReg16(fd, reg)
<span class="api-info"><code> >= 2.0.0 </code></span>

This read an 16-bit value from the device register indicated.
Expand Down

0 comments on commit 97f7fe1

Please sign in to comment.