camera - testing C code