1 FILE *head=fopen("/dev/cu.usbserial-A4000QBg","w"); 2 char head_turn=90-50*gPatt_trans[2][0]; 3 fprintf(head,"%c",head_turn); 4 printf("%d:%c:\n",head_turn,head_turn); 5 fclose(head); 6