https://drive.google.com/file/d/1SfWtYE4eS6cdRUk_U2tZg3iPtggN_OuP/view?usp=sharing
Mình chạy mà cứ bị lỗi như bên dưới:
C:\Users\MrThien\Documents\Arduino\code\code.ino: In function 'void Stop_Y_Left_Axis()':
C:\Users\MrThien\Documents\Arduino\code\code.ino:38:9: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
val = NULL;
^
C:\Users\MrThien\Documents\Arduino\code\code.ino: In function 'void Stop_Y_Right_Axis()':
C:\Users\MrThien\Documents\Arduino\code\code.ino:51:9: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
val =NULL;
^
C:\Users\MrThien\Documents\Arduino\code\code.ino: In function 'void Stop_X_Right_Axis()':
C:\Users\MrThien\Documents\Arduino\code\code.ino:62:9: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
val = NULL;
^
C:\Users\MrThien\Documents\Arduino\code\code.ino: In function 'void Stop_X_Left_Axis()':
C:\Users\MrThien\Documents\Arduino\code\code.ino:73:9: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
val = NULL;
^
C:\Users\MrThien\Documents\Arduino\code\code.ino: In function 'void Stop_Z_Up_Axis()':
C:\Users\MrThien\Documents\Arduino\code\code.ino:83:9: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
val = NULL;
^
C:\Users\MrThien\Documents\Arduino\code\code.ino: In function 'void Stop_Z_Down_Axis()':
C:\Users\MrThien\Documents\Arduino\code\code.ino:94:7: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
val = NULL;
^
C:\Users\MrThien\Documents\Arduino\code\code.ino: In function 'void Manual()':
C:\Users\MrThien\Documents\Arduino\code\code.ino:390:38: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null]
memset(Data,NULL,sizeof(Data));
^
C:\Users\MrThien\Documents\Arduino\code\code.ino: In function 'void loop()':
C:\Users\MrThien\Documents\Arduino\code\code.ino:548:38: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null]
memset(Data,NULL,sizeof(Data));
^
Sketch uses 9652 bytes (29%) of program storage space. Maximum is 32256 bytes.
Global variables use 6497 bytes (317%) of dynamic memory, leaving -4449 bytes for local variables. Maximum is 2048 bytes.
Not enough memory; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint.
Error compiling for board Arduino/Genuino Uno.