Hi oldcurmudgeon!
I use this one from Renzo Mischianti, v2.3.7.
As far as i know, in this library, the pinmode has to be set before. But i can try for sure !
Tks for your answer.
Edit: I tried and if i put the pinmode after the begin, the begin fail.