As the examples were not for Arduino, I made them from scratch. The program sends the desired letter (this module have the common anode) so I send them reversed. Then, the code sends the segment order (what segment will turn on) and then turn on.
3.7v 250mAh LiPo battery (obtained from a cheap mp3 player)
7-segment display module