edit C code (for arduino), ref #27