Изменена нумерация портов на широкой тибе 1904291745

This commit is contained in:
Иван Мокротоваров 2019-04-29 17:45:54 +03:00
parent 88d6e9fc25
commit 86a6ed85bd
3 changed files with 13 additions and 4 deletions

View File

@ -22,7 +22,7 @@ address=0.48.72.100.118.81
[address4] [address4]
platform=TPP2W(G2) platform=TPP2W(G2)
transport=udp_broadcast transport=udp_broadcast
address=0.36.119.82.182.139 address=0.36.119.82.255.193
[file1] [file1]
path=main.tc path=main.tc
type=c type=c

View File

@ -9,7 +9,7 @@
#message "link global not defined" #message "link global not defined"
#endif #endif
#define VERSION "2.0b_1903291538" #define VERSION "2.0b_1904291745"
#define MAX_FIFO_SIZE 20 #define MAX_FIFO_SIZE 20
#define BRAKER_COUNT 3 #define BRAKER_COUNT 3
@ -130,3 +130,4 @@ extern BrakerProcess brakers[BRAKER_COUNT];

12
tpp3.th
View File

@ -10,9 +10,17 @@ static unsigned char INPIN[SENSORS] = {
9, 8, 0, 16, 32, 33, 4, 20, 9, 8, 0, 16, 32, 33, 4, 20,
11, 10, 1, 17, 34, 35, 5, 21 11, 10, 1, 17, 34, 35, 5, 21
}; };
//static unsigned char OUTPIN[RELAYS] = {
// 13, 12, 36, 37, 15, 14, 38, 39,
// 24, 25, 28, 29, 40, 41, 54, 55
//};
static unsigned char OUTPIN[RELAYS] = { static unsigned char OUTPIN[RELAYS] = {
13, 12, 36, 37, 15, 14, 38, 39, 13, 12, 15, 14,
24, 25, 28, 29, 40, 41, 54, 55 24, 25, 40, 41,
36, 37, 38, 39,
28, 29, 54, 55
}; };
#endif #endif