Please help as i am new to arduino idk why i am getting this error.: call of overloaded 'abs(long unsigned int)' is ambiguous

That's an interesting conundrum - using abs() on an unsigned value.

Please remember to use code tags when posting code