Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed TrapezoidControl Pulse QEI
Diff: Input/Switch/Switch.h
- Revision:
- 1:b1219d8ca117
- Parent:
- 0:669ef71cba68
- Child:
- 16:3f2c2d89372b
--- a/Input/Switch/Switch.h Sat Sep 08 06:05:22 2018 +0000
+++ b/Input/Switch/Switch.h Mon Sep 10 01:39:15 2018 +0000
@@ -8,17 +8,20 @@
#define SW_ON 0
#define SW_OFF 1
- #define DIP0_PIN PB_0
- #define DIP1_PIN PA_4
- #define DIP2_PIN PA_1
- #define DIP3_PIN PA_0
+
+ #define DIP0_PIN PA_8
+ #define DIP1_PIN PB_10
+ #define DIP2_PIN PB_4
+ #define DIP3_PIN PB_5
+ //マルチプレクサ
#define LS_PIN PB_6
#define SELECT0_PIN PC_8
#define SELECT1_PIN PC_9
#define SELECT2_PIN PB_9
#define SELECT3_PIN PB_8
+ //Dipsw
#define DIP0 dipSw[0]
#define DIP1 dipSw[1]
#define DIP2 dipSw[2]