np4 mi25 inf mi25
. . ---------- cm -> st --------- 9.11.17 _ 0:50 :
0xAB 1 zapros txt
0-rd_vers
1-rd_tim
2-rd_variab
3-echo n_rd
4-board
0xAB 2 zapros timer 2 3 4
0xAB 3 zapros bin
0-board num
1-rd mem ??????????????????????????
2-adc to mem
3-tic to mem
29-delay mem rd
20-delay mem 0
21-delay mem 1
22-delay mem 2
23-delay mem 3
24-delay mem 4
50-test start rd mem ??????????????
51-test sTOP rd mem ??????????????
0xAB 4 adc for wh (rezh 5)??????????
0-
1-rd txt dt
2-set var0 to dt , start
3- stop to rezh 1
0xAB 5 adc fig fix wh
0-
1-start rd N
2-start rd tic 12
3-start rd dt tic 12
4-start rd adc
0xAB 6 adc fig fix tim3
0-
1-start rd N
2-start rd tic 12
3-start rd dt tic 12
4-start rd adc
0xAB 7 digital os rezh_7_
0
1-start
2-stop
3-digit mem rd
4-ik for start
5-ik for stop
0xAB 8 ??? ik for
0
1-
1-
0xAB 9 - - bar 280 - -

1-get txt
2-start
3-stop
4-
5-rd status reg
6-rd div i2c
7-set for tim
8-rd raw bmp dat
9-set data dd1 to reg dd0
0xAB 10 - - ik otrazhen - - rezh 10

1-set 10
2-
0xAB 0x0b(12) os light ????????

1-get txt
2-start
3-stop
4-
dd0= dt us
dd1 = ur start
0xAB 0x0e(14) count

start
0xAB 0x0f(15) 1W
0xAB 0100 000r leg . . . 0rrg ggbbb . . . . ??????????????????????
0xAB 0110 00rr leg . . .. = 00gg 00bb??????????????????
0xAA 1 send rezh
0xAA 2 send var to timer 2 3 4
0xa0 bM bL send_var0_14
0xa1 bM bL send_var1_14
0xa2 bM bL send_var2_14
0xa3 bM bL send_var3_14
0xa4 4-7<<1 DD send_var(4-7)_8
0x81 1234 set leg g 1234
0x82 C[1]=60
A[1]=69
web sou
0x85 echo 85 to 82
. . ..
. . ---------- st -> cm ---------
0xb0 ddd 1-start rd mem_14
2-stop rd mem_14
3-start rd mem digit
4-stop rd mem digit
5-
52-test start rd mem ??????????????
53-test stop rd mem ??????????????
0xb0 2 stop rd mem_14
0xb1 xx data rd mem_14
0xba rezh STATE infa = hh
0xbb mm STATE infa = ss
0xbc xx STATE infa = num board
0xbf num txt , num>100=stop
0xb9 . adc (5 7 bit) b7=0 b6=0
. . ---------- RZH ---------
1 . ??
2 . timer
3 . adc
4 . echo
5 . adc 2
. . ------???????????????????--------
0xbe 1 0-rd_vers
1-rd_tim
2-rd_variab
0xbe 2 rd_timer 2 3 4
0xbe 3 rd_echo


tim4 ch3
tim4 ch3 tim2 ch3 PA2

ct 1
ct 2
sh 1
??
board 1
board 2
-------------------------------------
midi standar


adc for , dma
uart
int pin

https://www.midi.org/specifications/item/table-1-summary-of-midi-message протокол биты
http://www.music-software-development.com/midi-tutorial.html

=========== c8========================
PB2 del boot1
PC13 leg
PA12 PA11 USB

PB6 PB7 PB8 PB9 TIM4_CHx

PB11 EXT11 (IRQ)

PB10 ADC1_pow POW_adc
PB1 ADC1_IN9
PB0 ADC_gnd?



-------------------------
adc for fix
ik out
bmp280



html
php

delay
timer start



piro
http://arduino-diy.com/arduino-piroelektricheskiy-infrakrasnyy-PIR-datchik-dvizheniya