Suppose I want to manipulate a particular part of the code say a value somewhere like delay etc things , then is it possible to do it with a keypad 4x4 by entering into some edit mode ??
Here in above code if I want to change the delay from 100 to 200 and don't want to connect it to the system or IDE and directly want to change it with the help of a 4x4 keypad or any input device
There is a keyboard library for arduino to work with various keypads - you need to play with that, the examples provided and work out how to change the value of a variable with it .
Then look at how you can display that number on an lcd display .
Alternatively , and easier , you could use a pot to input your delay value. Make the delay value a scaled version of the pot reading .
Again after that you can print that value to the lcd .