-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPins.h
More file actions
26 lines (20 loc) · 755 Bytes
/
Pins.h
File metadata and controls
26 lines (20 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**********************************************************************
*
* Pin definitions for Home Energy Monitor
*
*
*********************************************************************/
#ifndef __Pins_H__
#define __Pins_H__
/***************************************
* Pin assignments
**************************************/
//const char PIN_RX = 0; // UART RX
//const char PIN_TX = 1; // UART TX
const char PIN_ADE_INT = 2; // Interrupt from ADE
const char PIN_ADE_RST = 3; // ~Reset to ADE
const char PIN_ADE_CS = 10; // SPI ~chip select to ADE
const char PIN_ADE_CLK = 13; // SPI clock to ADE
const char PIN_ADE_MISO = 12; // SPI MISO from ADE
const char PIN_ADE_MOSI = 11; // SPI MOSI from ADE
#endif