From Attie's Wiki
Unfortunately the datasheet has the wrong pinout, see below for the correct pinout:
Pin 1 is the bottom left pin, pin 10 is the top left pin.
| Pin
| Function
|
| 1
| E
|
| 2
| D
|
| 3
| Common Anode (+ve)
|
| 4
| C
|
| 5
| DP
|
| 6
| B
|
| 7
| A
|
| 8
| Common Anode (+ve)
|
| 9
| F
|
| 10
| G
|
Segment Layout