arduino and enc28j60

can i put in the arduino jpg photo,
when digitalRead= HIGH on =true
off= false
when digitalRead=LOW off=true
on=true
?

What Arduino jpg photo?

I suspect that you want if, not when, in the rest of the pseudo-code. Some elses, too.