Skip to content
View lettinghenry's full-sized avatar

Block or report lettinghenry

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
lettinghenry/README.md

Shifting bytes around

Pinned Loading

  1. Arduino: Port Manipulation Arduino: Port Manipulation
    1
    // DDRD (R/W) pin direction (0 = INPUT / 1 = OUTPUT)
    2
    // PORTD (R/W) pin state (INPUT: 0 = LOW / 1 = HIGH | OUTPUT: 0 = PULL-UP DIACTIVATED / 1 = PULL-UP ACTIVATED)
    3
    // PIND (R) pin state (INPUT ONLY: 0 = LOW / 1 = HIGH)
    4
    
                  
    5
    // bit(n)                                 // calculates value of n-th bit (returns: 0 / 1)