Created
August 23, 2015 02:17
-
-
Save chapptw/3755bae71f0cfc86ca97 to your computer and use it in GitHub Desktop.
7セグのGPIO設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Define GPIO pin number | |
#define SEG_A 0 | |
#define SEG_B 1 | |
#define SEG_C 4 | |
#define SEG_D 17 | |
#define SEG_E 21 | |
#define SEG_F 22 | |
#define SEG_G 10 | |
#define SEG_H 9 | |
#define SEG_1 23 | |
#define SEG_2 24 | |
#define SEG_3 25 | |
#define SEG_4 11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment