a C program that controls gpio via mmap