arduinohabib:
Just wanted to ask what does this dodisplay(val);I tryed looking in the reference tab but couldn't get anything. If anyone can help me I would be very grateful.
Looks like a function call to a function named 'display' with an argument named 'value'. You'll have to give more information if you want a more specific answer. For example, do you include any libraries that might define the 'display' function?