mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
Add initial files
This commit is contained in:
parent
a1fd6fa19f
commit
52254f17c4
11 changed files with 47187 additions and 0 deletions
23
Software/config.h
Normal file
23
Software/config.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#ifndef __CONFIG_H__
|
||||
#define __CONFIG_H__
|
||||
|
||||
// PIN
|
||||
#define PIN_5V_EN 16
|
||||
|
||||
#define CAN_TX_PIN 26
|
||||
#define CAN_RX_PIN 27
|
||||
#define CAN_SE_PIN 23
|
||||
|
||||
#define RS485_EN_PIN 17 // 17 /RE
|
||||
#define RS485_TX_PIN 22 // 21
|
||||
#define RS485_RX_PIN 21 // 22
|
||||
#define RS485_SE_PIN 19 // 22 /SHDN
|
||||
|
||||
#define SD_MISO_PIN 2
|
||||
#define SD_MOSI_PIN 15
|
||||
#define SD_SCLK_PIN 14
|
||||
#define SD_CS_PIN 13
|
||||
|
||||
#define WS2812_PIN 4
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue