Led rgb in base alla tensione della batteria

https://www.arduino.cc/en/Reference/Map