diff options
Diffstat (limited to 'Core/Inc/wii_accessory_config.h')
-rw-r--r-- | Core/Inc/wii_accessory_config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Core/Inc/wii_accessory_config.h b/Core/Inc/wii_accessory_config.h new file mode 100644 index 0000000..74fce99 --- /dev/null +++ b/Core/Inc/wii_accessory_config.h @@ -0,0 +1,9 @@ +#ifndef _WII_ACCESSORY_CONFIG_H_
+#define _WII_ACCESSORY_CONFIG_H_
+
+#define WII_ACCESSORY_PORT GPIOB
+#define WII_ACCESSORY_SCL_PIN GPIO_PIN_6
+#define WII_ACCESSORY_SDA_PIN GPIO_PIN_7
+#define WII_ACCESSORY_DETECT_PIN GPIO_PIN_5
+
+#endif
|