Revision as of 09:35, 24 January 2013 by Admin(talk | contribs)(Created page with "<pre> int digitalRead(int pin) { if (bit_is_set(PINB,pin)) { return 1; } else { return 0; } } </pre>")
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
int digitalRead(int pin)
{
if (bit_is_set(PINB,pin))
{
return 1;
} else {
return 0;
}
}