소스 검색

Align pin configuration to schematics

Alexey Edelev 4 년 전
부모
커밋
f99ea38e4a
1개의 변경된 파일10개의 추가작업 그리고 5개의 파일을 삭제
  1. 10 5
      Arduino/eScooterControl/pinconfig.h

+ 10 - 5
Arduino/eScooterControl/pinconfig.h

@@ -36,15 +36,20 @@
 const int I2CSDAPin = A4;
 const int I2CSCLPin = A5;
 
-const int ButtonPin = 4;
-const int PowerPin = 5;
+const int ButtonPin = 7;
+const int PowerPin = 8;
 
-const int LedPin = 6;
+const int LedPin = 9;
+const int StopLedPin = 4;
 
-const int HallSensorPin = 2;
+const int HallSensorPin = 3;
 const byte PulsePerCircle = 45;
 
-const int StopSensorPin = 3;
+const int StopSensorPin = 2;
+
+const int Speaker = A6;
+
+const int BatteryPin = A2;
 
 const int DisplayDataPin = 10;
 const int DisplayCsPin = 11;