too many arguments to function 'int digitalRead(uint8_t)'

the error message states what the problem is, i.e. digital-io/digitalread takes a single parameter not two