Flickering Potentiometer

ciabio:
so i google it but i don't know where to put this function : Analog::map(std::function<int(int)>)

You don't have to write it anywhere. Analog::map is the map method of the Analog class, and std::function is a function data type from the "functional" standard library. <int(int)> just means that it's a function that takes one integer parameter, and returns an integer. (std::function is a template class, that's why it uses <>.)

ciabio:
i search it but i found only java scipts and other strange things

http://en.cppreference.com/w/cpp/language/lambda

Lambda expressions (since C++11)
Constructs a closure: an unnamed function object capable of capturing variables in scope.

I'll push the changes to the library tonight or tomorrow.