Toggle the pin(s) HIGH and LOW in a simple sketch and check with a voltmeter (or LED etc) for any activity.