Mercurial Hosting > harelet
comparison harelet.c @ 3:eb7a7364994c
Automated Vimcurial commmit
author | VilyaemKenyaz |
---|---|
date | Fri, 08 Sep 2023 08:02:33 -0400 |
parents | 1b0ebe86b44c |
children | 0ed615367b10 |
comparison
equal
deleted
inserted
replaced
2:1b0ebe86b44c | 3:eb7a7364994c |
---|---|
80 //Compose | 80 //Compose |
81 char * instruction; | 81 char * instruction; |
82 strcat(instruction,"G0 X"); | 82 strcat(instruction,"G0 X"); |
83 strcat(instruction,sprintf("%d",points[i].X)); | 83 strcat(instruction,sprintf("%d",points[i].X)); |
84 strcat(instruction," Y"); | 84 strcat(instruction," Y"); |
85 strcat(inustrction,sprintf | 85 strcat(inustrction,sprintf("%d",points[i].Y)); |
86 strcat(instructions," Z"); | |
87 strcat(instructions,sprintf("%d",points[i].Z)); | |
86 //Write to string | 88 //Write to string |
87 strcat(file,instruction); | 89 strcat(file,instruction); |
88 } | 90 } |
89 //Finish | 91 //Finish |
90 strcat(file,"G0, X0, Y0, Z0"); | 92 strcat(file,"G0, X0, Y0, Z0"); |