DigitalRead: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<pre> int digitalRead(int pin) { if (bit_is_set(PINB,pin)) { return 1; } else { return 0; } } </pre>") |
(No difference)
|
Latest revision as of 09:35, 24 January 2013
int digitalRead(int pin) { if (bit_is_set(PINB,pin)) { return 1; } else { return 0; } }