Skip to content

Commit 8d76d0b

Browse files
committed
Table Update Trial Commit
1 parent 1abbb4c commit 8d76d0b

File tree

3 files changed

+532
-6
lines changed

3 files changed

+532
-6
lines changed

data.json

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
{
2+
"mcuJsonData": {
3+
"SAMD21": {
4+
"EXT1": {
5+
"3": "Y6",
6+
"4": "Y7",
7+
"5": "Y12",
8+
"6": "Y13",
9+
"7": "Y8",
10+
"8": "Y9",
11+
"9": "Y10",
12+
"10": "Y11",
13+
"11": "X0",
14+
"12": "X1",
15+
"13": "Y15",
16+
"14": "Y14",
17+
"15": "Y3",
18+
"16": "Y4",
19+
"17": "Y2",
20+
"18": "Y5"
21+
},
22+
"EXT2": {
23+
"3": "X2",
24+
"4": "X3",
25+
"5": "X8",
26+
"6": "X9",
27+
"7": "X12",
28+
"8": "X13",
29+
"9": "X14",
30+
"10": "X15",
31+
"11": "X0",
32+
"12": "X1",
33+
"13": "",
34+
"14": "",
35+
"15": "X5",
36+
"16": "X6",
37+
"17": "X4",
38+
"18": "X7"
39+
},
40+
"EXT3": {}
41+
},
42+
"SAMD20": {
43+
"EXT1": {
44+
"3": "Y8",
45+
"4": "Y7",
46+
"5": "Y12",
47+
"6": "Y13",
48+
"7": "Y8",
49+
"8": "Y9",
50+
"9": "Y10",
51+
"10": "Y11",
52+
"11": "X0",
53+
"12": "X1",
54+
"13": "Y15",
55+
"14": "Y14",
56+
"15": "Y3",
57+
"16": "Y4",
58+
"17": "Y2",
59+
"18": "Y5"
60+
},
61+
"EXT2": {
62+
"3": "X2",
63+
"4": "X3",
64+
"5": "X8",
65+
"6": "X9",
66+
"7": "X12",
67+
"8": "X13",
68+
"9": "X14",
69+
"10": "X15",
70+
"11": "X0",
71+
"12": "X1",
72+
"13": "",
73+
"14": "",
74+
"15": "X5",
75+
"16": "X6",
76+
"17": "X4",
77+
"18": "X7"
78+
},
79+
"EXT3": {}
80+
}
81+
},
82+
"extJsonData": {
83+
"QT3": {
84+
"EXT1": {
85+
"3": "Y1",
86+
"4": "Y2",
87+
"5": "Y3",
88+
"6": "Y4",
89+
"7": "X1",
90+
"8": "X2",
91+
"9": "X3",
92+
"10": "---",
93+
"11": "---",
94+
"12": "---",
95+
"13": "---",
96+
"14": "---",
97+
"15": "LED COL 1",
98+
"16": "LED COL 2",
99+
"17": "LED COL 3",
100+
"18": "LED COL 4"
101+
},
102+
"EXT2": {
103+
"3": "X1",
104+
"4": "X2",
105+
"5": "X3",
106+
"6": "---",
107+
"7": "LED ROW 1",
108+
"8": "LED ROW 2",
109+
"9": "LED ROW 3",
110+
"10": "LED ROW 4",
111+
"11": "---",
112+
"12": "---",
113+
"13": "---",
114+
"14": "---",
115+
"15": "---",
116+
"16": "---",
117+
"17": "---",
118+
"18": "---"
119+
}
120+
},
121+
"QT5": {
122+
"EXT1": {
123+
"3": "Y0",
124+
"4": "Y1",
125+
"5": "---",
126+
"6": "---",
127+
"7": "X0",
128+
"8": "X1",
129+
"9": "X2",
130+
"10": "X3",
131+
"11": "SDA",
132+
"12": "SDA",
133+
"13": "---",
134+
"14": "---",
135+
"15": "---",
136+
"16": "---",
137+
"17": "---",
138+
"18": "---"
139+
}
140+
}
141+
},
142+
"xproDefinition": {
143+
"3": "ADC(+)",
144+
"4": "ADC(-)",
145+
"5": "GPIO1",
146+
"6": "GPIO2",
147+
"7": "PWM(+)",
148+
"8": "PWM(-)",
149+
"9": "IRQ/GPIO",
150+
"10": "SPI_SS_B/GPIO",
151+
"11": "TWI_SDA",
152+
"12": "TWI_SCL",
153+
"13": "USART_RX",
154+
"14": "USART_TX",
155+
"15": "SPI_SS_A",
156+
"16": "SPI_MOSI",
157+
"17": "SPI_MISO",
158+
"18": "SPI_SCK"
159+
}
160+
}

index.html

Lines changed: 201 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,213 @@
44
<head>
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<title>Sample POC for Github Pages</title>
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>CNANO Touch Compatibility Check</title>
89
<style>
9-
h1 {
10-
color: #2196f3
10+
table.fixed,
11+
th {
12+
border: 1px solid black;
13+
border-collapse: collapse;
14+
table-layout: fixed;
15+
text-align: center;
16+
}
17+
18+
table.fixed tr {
19+
height: 20px;
20+
}
21+
22+
table.fixed td {
23+
width: 10px;
24+
overflow: hidden;
25+
word-wrap: break-word;
26+
border: 1px solid black;
27+
}
28+
29+
div.right {
30+
position: absolute;
31+
top: 80px;
32+
right: 0px;
33+
width: 750px;
34+
height: 750px;
35+
border: 1px solid #000000;
36+
}
37+
38+
div.left {
39+
position: absolute;
40+
top: 80px;
41+
left: 0px;
42+
width: 750px;
43+
height: 750px;
44+
border: 1px solid #080808;
45+
}
46+
47+
div.righRelative {
48+
position: absolute;
49+
top: 80px;
50+
right: 0px;
51+
width: 750px;
52+
height: 750px;
53+
border: 1px solid #000000;
1154
}
1255
</style>
1356
</head>
1457

1558
<body>
16-
<h1>
17-
Welocome to TXFG Touch Github Pages
18-
</h1>
59+
<select name="mcuBoardName" id="mcuBoardList">
60+
<option size="7">Select MCU board from the list... </option>
61+
</select>
62+
<br />
63+
<select name="extBoardName" id="extBoardList">
64+
<option size="7">Select Touch board from the list... </option>
65+
</select>
66+
67+
<br />
68+
<br />
69+
70+
71+
<div class="left">
72+
<table class="fixed" id="heading" style="position: absolute; left: 150px;">
73+
<col width=150 />
74+
<col width=150 />
75+
<col width=150 />
76+
<col width=150 />
77+
<tr>
78+
<th></th>
79+
<th></th>
80+
<th>CNANO</th>
81+
<th>Extension</th>
82+
</tr>
83+
<tr>
84+
<th>EXT Pin#</th>
85+
<th>Function</th>
86+
<th></th>
87+
<th></th>
88+
</tr>
89+
</table>
90+
<table class="fixed" id="heading1" style="position: absolute; top: 45px;">
91+
<col width=150 />
92+
<tr style="background-color: rgb(128,128,0) ">
93+
<td rowspan="16">EXT1</td>
94+
</tr>
95+
<tr>
96+
<td>1</td>
97+
</tr>
98+
<tr>
99+
<td>2</td>
100+
</tr>
101+
<tr>
102+
<td>3</td>
103+
</tr>
104+
<tr>
105+
<td>4</td>
106+
</tr>
107+
<tr>
108+
<td>5</td>
109+
</tr>
110+
<tr>
111+
<td>6</td>
112+
</tr>
113+
<tr>
114+
<td>7</td>
115+
</tr>
116+
<tr>
117+
<td>8</td>
118+
</tr>
119+
<tr>
120+
<td>9</td>
121+
</tr>
122+
<tr>
123+
<td>10</td>
124+
</tr>
125+
<tr>
126+
<td>11</td>
127+
</tr>
128+
<tr>
129+
<td>12</td>
130+
</tr>
131+
<tr>
132+
<td>13</td>
133+
</tr>
134+
<tr>
135+
<td>14</td>
136+
</tr>
137+
<tr>
138+
<td>15</td>
139+
</tr>
140+
<tr style="background-color: rgb(0,128,128) ">
141+
<td rowspan="16">EXT2</td>
142+
</tr>
143+
<tr>
144+
<td>1</td>
145+
</tr>
146+
<tr>
147+
<td>2</td>
148+
</tr>
149+
<tr>
150+
<td>3</td>
151+
</tr>
152+
<tr>
153+
<td>4</td>
154+
</tr>
155+
<tr>
156+
<td>5</td>
157+
</tr>
158+
<tr>
159+
<td>6</td>
160+
</tr>
161+
<tr>
162+
<td>7</td>
163+
</tr>
164+
<tr>
165+
<td>8</td>
166+
</tr>
167+
<tr>
168+
<td>9</td>
169+
</tr>
170+
<tr>
171+
<td>10</td>
172+
</tr>
173+
<tr>
174+
<td>11</td>
175+
</tr>
176+
<tr>
177+
<td>12</td>
178+
</tr>
179+
<tr>
180+
<td>13</td>
181+
</tr>
182+
<tr>
183+
<td>14</td>
184+
</tr>
185+
<tr>
186+
<td>15</td>
187+
</tr>
188+
</table>
189+
<table class="fixed" id="mainTable" style="position: absolute; top: 45px; left: 150px;">
190+
<col width=150 />
191+
<col width=150 />
192+
<col width=150 />
193+
<col width=150 />
194+
</table>
195+
</div>
196+
197+
<div class="right">
198+
<table class="fixed" id="mainTable1">
199+
<col width=150 />
200+
<col width=150 />
201+
<col width=150 />
202+
<col width=150 />
203+
<tr>
204+
<th></th>
205+
<th>EXT Pin#</th>
206+
<th>Function</th>
207+
<th></th>
208+
<th></th>
209+
</tr>
210+
</table>
211+
</div>
212+
213+
<script type="text/javascript" src="index.js"> </script>
19214
</body>
20215

21216
</html>

0 commit comments

Comments
 (0)