I cannot upload the programming without getting an 'assignment of function void delay (long unsigned int)'.
I have change the word in the variables using "shortT, time, dit," etc for the 'int'. Example
'int shortT=300;' The error message is below:
Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Users\billr\Documents\Arduino\sketch_oct01a\sketch_oct01a.ino: In function 'void loop()':
sketch_oct01a:17:14: error: assignment of function 'void delay(long unsigned int)'
delay=(shortT)
^
sketch_oct01a:17:14: error: cannot convert 'int' to 'void(long unsigned int)' in assignment
sketch_oct01a:19:14: error: assignment of function 'void delay(long unsigned int)'
delay=(shortT)
^
sketch_oct01a:19:14: error: cannot convert 'int' to 'void(long unsigned int)' in assignment
sketch_oct01a:21:14: error: assignment of function 'void delay(long unsigned int)'
delay=(shortT)
^
sketch_oct01a:21:14: error: cannot convert 'int' to 'void(long unsigned int)' in assignment
sketch_oct01a:23:14: error: assignment of function 'void delay(long unsigned int)'
delay=(shortT)
^
sketch_oct01a:23:14: error: cannot convert 'int' to 'void(long unsigned int)' in assignment
sketch_oct01a:25:14: error: assignment of function 'void delay(long unsigned int)'
delay=(shortT);
^
sketch_oct01a:25:14: error: cannot convert 'int' to 'void(long unsigned int)' in assignment
exit status 1
assignment of function 'void delay(long unsigned int)'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.