| LEDのPin No. | Function | Raspberryのピン番号 |
|---|---|---|
| 1 | Segment "c" | 13 |
| 2 | Digit 1 Common | 6(GND) |
| 3 | Segment "d" | 15 |
| 4 | Digit 2 Common | NC |
| 5 | Digit 3 Common | NC |
| 6 | Segment D.P | 7 |
| 7 | Segment "b" | 12 |
| 8 | Segment "f" | 18 |
| 9 | Segment "a" | 11 |
| 10 | Segment "e" | 16 |
| 11 | Segment "g" | 22 |

#include <stdio.h> |