code examples for DIGH 402