changeset 15:ef57eb9ec02b

Automated Vimcurial commmit
author VilyaemKenyaz
date Tue, 12 Sep 2023 08:41:30 -0400
parents 8b5ff478ec66
children 43dcb67b173d
files .harelet.c.swp FIRST harelet harelet.c
diffstat 4 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
Binary file .harelet.c.swp has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/FIRST	Tue Sep 12 08:41:30 2023 -0400
@@ -0,0 +1,9 @@
+G20
+G0 X0 Y0 Z0
+G0 X 70 Y 25 Z 5
+25G0 X 70 Y 25 Z 5
+25G0 X 100 Y 15 Z 5
+15G0 X 70 Y 25 Z 5
+25G0 X 100 Y 15 Z 5
+15G0 X 100 Y 30 Z 5
+30G0 X0 Y0 Z0
Binary file harelet has changed
--- a/harelet.c	Tue Sep 12 08:35:17 2023 -0400
+++ b/harelet.c	Tue Sep 12 08:41:30 2023 -0400
@@ -109,7 +109,7 @@
 		//Meat of instructions
 		for(int i = 0;i != numpoints;i++){
 			//Compose
-			char instruction[32];
+			char instruction[64];
 			strcat(instruction,"G0 X ");
 			//Convert X to string
 			sprintf(buffer,"%d",points[i].X);
@@ -141,6 +141,7 @@
 
 	puts("Finished Compiling GCODE");
 	getchar();
+	scanf("Check above for problems");
 
 }