Вверх ↑
Этот топик читают: Гость
Ответов: 7
Рейтинг: 0
#1: 2018-05-25 16:18:55 ЛС | профиль | цитата
Есть ардуино который отправляет данные в сериал. Как читать эту информацию?
карма: 1

0
vip
#1.1контекстная реклама от партнеров
Ответов: 353
Рейтинг: 151
#2: 2018-05-25 16:37:11 ЛС | профиль | цитата
Часть схемы (программы)
Arduino


Add(MainForm,5025921,147,112)
{
Width=620
Height=310
Color=8421504
Caption="VIZ_SIGNAL"
Position=1
Point(onClose)
Point(onKeyUp)
link(onCreate,13653135:doEvent1,[(194,132)(194,160)])
}
Add(COMEX,5844996,574,273)
{
Point(doRXClear)
Point(doDTR)
Point(doRTS)
Point(doSetComState)
Point(onDSR)
Point(onCTS)
Point(onDCD)
Point(onRING)
Point(onSetComState)
link(onRead,15963325:doEvent,[])
link(Port,4109759:Value,[(580,250)(461,250)])
link(BaudRate,5946731:EditText,[])
}
Add(EnumCOM,15522172,238,168)
{
link(onEnumPorts,15071772:doModify,[])
}
Add(ComboBox,529092,357,168)
{
Left=35
Top=10
Width=65
Height=21
Text=""
DataType=1
ReadOnly=0
Sort=0
Point(doSelect)
Point(doEnabled)
link(onClick,8173172:doDelete,[])
}
Add(ComboBox,5946731,567,63)
{
Left=105
Top=10
Width=85
Height=21
Strings=#4:300 |4:600 |4:1200|4:2400|4:4800|4:9600|5:14400|5:19200|5:28800|5:38400|5:57600|6:115200|0:|
ReadOnly=0
Point(EditText)
Point(doSelect)
Point(doEnabled)
}
Add(StrCase,15071772,294,168)
{
Type=1
link(onModify,529092:doAdd,[])
}
Add(Delete,8173172,406,175)
{
Count=3
link(onDelete,4109759:doValue,[])
}
Add(Memory,4109759,455,175)
{
}
Add(DoData,2423023,448,105)
{
Data=Integer(10)
link(onEventData,5946731:doSelect,[])
}
Add(Hub,13653135,203,154)
{
InCount=2
OutCount=3
link(onEvent1,2423023:doData,[(231,160)(231,111)])
link(onEvent2,529092:doClear,[(340,167)(340,181)])
link(onEvent3,15522172:doEnumPorts,[])
}
Add(BitBtn,3007977,420,273)
{
Left=195
Top=11
Width=20
Bitmap=[ZIP3604000078DAE5933D8F41511086C9FE812DB7DF662BA51FB009D1DC627F8242210A444314A21189DC04910805221114040942888F6834140A89CF4E74A24104EFBEEE912D57BF3BC9DCCC3BF39C7BCF3933F753D2BEA814D3D23FE8AF0F57ABDE4481F5778DF087A9F1FFEC72B9CCE773A3D168B1586C369BD56AEDF57A93C9C4E1705032C9120162825F2C1666B3391289944AA562B1188D46ED76BBD3E96440C9244B0488093E97CB11188FC75EAF57A7D3E9F5FA2FC5185032C9120162820F06833E9F8F1B389D4E0683A1DD6E8F46A37EBF5F2814289964890031C177BB5DB7DB3D9D4EFD7EBF24492693291C0EBB5C2E06944C562A1502C4047F3E9F1389442814DA6EB7CBE59287651C8FC767B319E56030A02440ECE78A0E8743B3D9946599F94020B05EAFF7FBBD907CB244E06F0FC9F57A05BB0B7603B55A0DD96C16C964126C3A52A9143C1E0FEAF5FAAFEF58AD5668B55AE015A3D3E9A0D168A05C2E2393C98037094EDBD33D0C8743E53BF7751C08E4F37970E4108BC5904EA79F9EE376BBE1783C62B7DB61B3D98063A3ACAB56ABF71F01DF502375BC]
Point(doEnabled)
link(onClick,15075452:doEvent1,[])
}
Add(BitBtn,1239611,147,161)
{
Left=10
Top=11
Width=20
Bitmap=[ZIP3600010078DAEDDDC94BA3491CC6F16EE61F98E3DCE732A739F61F3007C183073D7808392ACCC583882248844618540431E2821A178C8AA2B82082B883A2888A5B101154D071577001C185F4D3799BD01EBAAA21FD7667F93EF00BAFF55655DEB73EC945F4AD7F323EFCF62E920FAABF54BF7FA9F7EFFE704EE8FC9F7F3BF525EF6F6F6FAFAEAECECECEFEFF762E2E2E1E1E1E5E5F5FC3E1F0D1D1514949495B5BDBCACACAECEC6C7D7DBDCFE7CBC9C9C9CBCBABAEAE1E1818585C5C0C85421AF2F2F2128EE4DF480281406161A1C6565656FAFDFEC6C6C6E6E6E6D6D6D6DEDE5ECD19FE2A9A4AF3EB55DDD4B9AAAAAAA6A6A6A1A1419DFBFBFB171616A6A7A7AFAFAFA3FDF3F3F3EBEAEA345B7979B90E4A4B4BD5525C5CAC51838383535353DBDBDB9B9B9B4F4F4F4EFFA2A222CD565151A10975DCD2D2E2B4AFAEAE068341DDD4DADA9A86DCDCDC38EDBAE6CECECEE648FAFAFAF4E3FCFCBC736A7F7F7F7272726363637777F7F4F4D4696C6F6FFFF8366A895EEDC1C1C1C9C98916FCF2F2D269D1FA9F9F9FABE5F0F030DAADABABEBBFB7518B734A6BAB49F48E5A8AE8D22D2F2F6BA12626260622191D1DD58FCE2911EB3AF7F6F6D6D7D7C7C6C67676769C762D8E9648437A7A7AD45FC74EFBF3F3B3FA1F1F1F6B1134EDD0D0909648D05A04DDECF0F0B09648076A895EEDDDDDDDD6D69646E92D969696B43E73737362D2E2EB40EBA679F4FAB5B296D7E9A9579DD5C746FDF55EBA18CDDF1A49F86D1E1F1F7517333333DDDDDD1D1D1D23232322BBBFBFD7295DEAF8F878981042082184104248BC26140A19CBEBF51A8BE04FF027F813FC09FE047F823F497CDFDCDC5C63D9C6277A05020163E18F3FFEF8E38F3FFEF8E38F3FFEF8E38F7F3CF87A3C1E6315141418CBE7F32575D9EEDFB67EB6B2F9E08F3FFEF8E38F3FFEF8E38F3FFEF8E38FFFF7F86667671BABACACCC58B5B5B5AE96DFEF8FA97EF5FBDBD6CFB6FEB6C21F7FFCF1C71F7FFCF1C71F7FFCF1C71FFF1FF1FB9FACAC2C637D7EEA9CA93E3FF52E99CB76FF999999AE16FEF8E38F3FFEF8E38F3FFEF8E38F3FFEF8FF8CFF0FC8C8C83056535393B16CE32973E18F3FFEF8E38F3FFEF8E38F3FFEF8E38FFFF7F8A5A5A5192BD6F9D3D3D38D95ECCF47B4DDBFADDCFEFF0FFCF1C71F7FFCF1C71F7FFCF1C71F7FFC13C33FDE3F7FF11EB7EFDFF6FD72FBFB8D3FFEF8E38F3FFEF8E38F3FFEF8E38F7F72F8F33710B1956D7F0ADBF85FFDFDC0107F0A7F0A7F0A7F0A7F0A7F2A35FCDD7EBE00FB3B98EFDFF67C0CB73F1FF8E38F3FFEF8E38F3FFEF8E38F3FFEF8A7867FACFB07D8F62748F4FD17DCDE9F22D6FD1D62FD7CE08F3FFEF8E38F3FFEF8E38F3FFEF8E39F1AFEB6F11E8F27A6B2ED6F100C068D95ECFB3BD8D6CFEDDFFFE08F3FFEF8E38F3FFEF8E38F3FFEF8E39F1AFEB126100818CBEBF52675D9F6A7B08D4FF4E763E08F3FFEF8E38F3FFEF8E38F3FFEF8E39F1AFEA91E7CF1C71F7FFCF1C71F7FFCF1C71F7FFCF1C79F104208218410420821F1904F96BF3A2D]
Point(doEnabled)
link(onClick,13653135:doEvent2,[])
}
Add(BitBtn,2486269,420,315)
{
Left=220
Top=11
Width=20
Bitmap=[ZIP3604000078DACD934F8B526114C667E80BB46CDFA655CBF90081EE5CF809C24242445444309C46A43249046504D1481D4154505319154551C38D9B949110FC73651C716E932086E868F77A7AD4D94DE340AB0E9C97C3EF79DEFBFE3BF799E8E0C1DE260E904F900F6F727FEFD15680FEF8E9366F629FFE35FA27EF99E317D3F619EA8EF5F9EFE9AFD980E9390D2B8EBB738AC7C038A4B38BEEE0C432ED7EEF5A5FFEC88676AF72FE49DBFF7CC42FE6CCF1ABD1D7D3DB068EE3DAEDB6442291CBE52A954AA95496CB65F077FAD71A8D06041C2A3CDC66639D4E472693391C8E783C1E8BC59C4EA75AAD06D7E974A841C0A1C2032778281482A156AB198D46814020140AC5623178AFD7430D020E151E38C16D369BC9646A341A0A8562B15860519EE7C131A2EEF7FB5AAD162A3C7082974A25BD5EDF6C36CD66B34824924AA5F57A1D1C07410D029E4C26E181137CB95C7A3C1EBBDDCEB26CB7DBC5615183BBDDEE56AB0552A95440E081737B45B3D92C97CB59AD56408BC5F2C1780838994CB604235478FE7AFF93B3021B33F0CB6B36FEF13272B4FBB126DFD26CF2EDF5B0FD33E75A5C9D0F2387EC17F35DE615CF8DF28EC5E8829F4FD98411643E685E46DE5C9DDAE83F88F5ABA11BA85028503A9DA66030485EAF97D024E4F3F9C86030502693D9F90D8661289FCF139E848AC52265B3594A241214080408374FE8CE7BF750AD5637EBACE745A3510A87C384162597CB457EBFFFDE73AC562B9ACFE7341E8F69381C123A6D332F954AADFF1DFA038A195F53]
link(onClick,12300076:doEvent1,[])
}
Add(Switch,13138421,154,294)
{
DataOn=Integer(1)
DataOff=Integer(0)
Default=0
Point(doOn)
Point(State)
link(onSwitch,11980972:doEvent1,[])
}
Add(Hub,11980972,203,294)
{
OutCount=4
link(onEvent1,13882946:In,[])
link(onEvent2,13667006:In,[])
link(onEvent3,12907078:In,[])
link(onEvent4,6888484:In,[])
}
Add(LineBreak,16540302,308,217)
{
Caption="-+"
link(Out,529092:doEnabled,[])
Primary=[13882946,-63,77]
}
Add(LineBreak,13917146,105,168)
{
Caption="-+"
link(Out,1239611:doEnabled,[])
Primary=[13667006,140,133]
}
Add(LineBreak,10772269,378,280)
{
Caption="-+"
link(Out,3007977:doEnabled,[])
Primary=[12907078,-133,28]
}
Add(Hub,15075452,469,273)
{
link(onEvent1,5844996:doOpen,[])
link(onEvent2,13572227:In,[])
}
Add(Hub,12300076,469,315)
{
link(onEvent1,5844996:doClose,[(553,321)(553,286)])
link(onEvent2,16723871:In,[])
}
Add(LineBreak,4880368,518,112)
{
Caption="-+"
link(Out,5946731:doEnabled,[])
Primary=[6888484,-273,203]
}
Add(LineBreak,13216880,77,301)
{
Caption="off"
link(Out,13138421:doReset,[])
Primary=[13572227,420,-21]
}
Add(LineBreak,6692472,105,308)
{
Caption="on"
link(Out,13138421:doOn,[])
Primary=[16723871,392,14]
}
Add(Debug,15963325,658,280)
{
}

карма: 2

0
2
Сообщение
...
Прикрепленные файлы
(файлы не залиты)