Real-valued compact genetic algorithms for embedded microcontroller optimization