Thanks Bruce, but I need A/D on channel a0, all the other pins are I or O.

Regards

Bob