DigitalRead
Jump to navigation
Jump to search
int digitalRead(int pin) { if (bit_is_set(PINB,pin)) { return 1; } else { return 0; } }