Skip to content

Commit 19532b7

Browse files
GerogeFufpistm
andauthored
Update variants/FYSETC_S6/variant.cpp
Co-Authored-By: Frederic Pillon <frederic.pillon@st.com>
1 parent ed20d07 commit 19532b7

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

variants/FYSETC_S6/variant.cpp

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,19 @@ const PinName digitalPin[] = {
103103
PE_12, //D76
104104
PE_13, //D77
105105
PE_14, //D78
106-
PE_15, //D79
107-
108-
//Duplicated ADC Pins
109-
PA_3, //D80/A0
110-
PA_4, //D81/A1
111-
PC_0, //D82/A2
112-
PC_1, //D83/A3
113-
PC_2, //D84/A4
114-
PC_3, //D85/A5
115-
PC_4 //D86/A6
106+
PE_15 //D79
107+
};
108+
109+
// Analog (Ax) pin number array
110+
// where x is the index to retrieve the digital pin number
111+
const uint32_t analogInputPin[] = {
112+
3, //A0
113+
4, //A1
114+
32, //A2
115+
33, //A3
116+
34, //A4
117+
35, //A5
118+
36 //A6
116119
};
117120

118121
#ifdef __cplusplus

0 commit comments

Comments
 (0)