Yes, see the sample in the users guide regarding TTL signals.