diff --git a/02-UML/PDF/Sequence.pdf b/02-UML/PDF/Sequence.pdf new file mode 100644 index 0000000..5204fc2 Binary files /dev/null and b/02-UML/PDF/Sequence.pdf differ diff --git a/02-UML/blinkerProject.gaphor b/02-UML/blinkerProject.gaphor index a313dfd..a0dd7c5 100644 --- a/02-UML/blinkerProject.gaphor +++ b/02-UML/blinkerProject.gaphor @@ -1,5 +1,5 @@ - + diagram { @@ -33,6 +33,7 @@ controlflow { + @@ -178,7 +179,7 @@ controlflow { 100.0 -57.0 +60.0 @@ -220,42 +221,6 @@ controlflow { - - -Factory - - - - - - - - - - - - -(1.0, 0.0, 0.0, 1.0, 10.582105756417851, 36.41313020682611) - - -(0.0, 0.0) - - -100.0 - - -57.0 - - - - - - - - - - - mcc_generated_files @@ -309,10 +274,10 @@ controlflow { (0.0, 0.0) -343.76239013671875 +362.50272529507833 -274.2066650390625 +310.3485412597656 @@ -356,10 +321,10 @@ controlflow { (0.0, 0.0) -243.0 +253.98175048828125 -142.0 +177.44134521484375 @@ -1356,10 +1321,10 @@ controlflow { (0.0, 0.0) -206.0 +211.0 -120.0 +138.0 Rémi Heredero @@ -3026,16 +2991,16 @@ controlflow { -(1.0, 0.0, 0.0, 1.0, 1096.9414380029666, 635.941215963616) +(1.0, 0.0, 0.0, 1.0, 1091.9414380029666, 617.941215963616) (0.0, 0.0) -206.0 +211.0 -120.0 +138.0 Rémi Heredero @@ -3069,38 +3034,136 @@ controlflow { - - + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + - - - - - - + + + + + + + + + + @@ -3112,12 +3175,14 @@ controlflow { + + -(1.0, 0.0, 0.0, 1.0, 190.43357849121088, 215.96482849121094) +(1.0, 0.0, 0.0, 1.0, 190.4335784912109, 158.3548038873035) (0.0, 0.0) @@ -3135,24 +3200,20 @@ controlflow { -1142.0638207334052 +838.4183626692754 - + + + - - - - - - Interaction @@ -3160,11 +3221,15 @@ controlflow { - - - - - + + + + + + + + + @@ -3176,12 +3241,14 @@ controlflow { + + -(1.0, 0.0, 0.0, 1.0, 529.0400232111888, 215.96482849121094) +(1.0, 0.0, 0.0, 1.0, 529.0400232111891, 158.3548038873035) (0.0, 0.0) @@ -3199,222 +3266,9 @@ controlflow { -1233.8165738780592 +838.4183626692754 - - - - - -1 - - -1 - - - - - - - - -(1.0, 0.0, 0.0, 1.0, 721.0262867848036, 55.29107777941851) - - -[(-16.926994519569348, 50.307665260309136), (46.84273220047726, 50.307665260309136), (46.84273220047726, 257.3424505916979), (-16.926994519569348, 257.3424505916979)] - - - - - - - - - - - - - -evTimeout() - - - - - - - - - - - - - - - - - - -0 - - -0 - - - - - - - - -(1.0, 0.0, 0.0, 1.0, 331.8284218647998, 522.8842634358608) - - -[(9.129602194249344, -324.54986212797246), (372.27087040043443, -324.54986212797246)] - - - - - - - - - - - - - -evRelease() - - - - - - - - - - - - - - - - - - - - - - - -(1.0, 0.0, 0.0, 1.0, -100.52444556783824, 263.4049607898497) - - -(-45.1662654094919, 35.947522953017426) - - -1730.2657621614176 - - -1027.967660745502 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -User Press left button shortly - - - - - - - - - - - - - - - - - -0 - - -0 - - - - - - - - -(1.0, 0.0, 0.0, 1.0, 215.6438199706265, 84.42953202911686) - - -[(125.31420408842261, 13.151018864402118), (488.4554722946077, 13.151018864402147)] - - - - - - - - - - - - - -evPress() - - - - - - - - - - - - - @@ -3429,7 +3283,7 @@ controlflow { (1.0, 0.0, 0.0, 1.0, 119.52593897502123, 258.3548038873035) -[(0.0, 16.999999999999943), (0.6140536756673782, 1124.7380899279647)] +[(0.0, -25.00000000000003), (0.0, 738.4183626692754)] @@ -3442,12 +3296,14 @@ controlflow { + + -(1.0, 0.0, 0.0, 1.0, 100.52593897502125, 198.35480388730346) +(1.0, 0.0, 0.0, 1.0, 100.52593897502125, 153.35480388730346) (0.0, 0.0) @@ -3482,7 +3338,7 @@ controlflow { (1.0, 0.0, 0.0, 1.0, 119.2280951355325, 361.88389472378566) -[(0.2978438394887917, -33.99956343515652), (121.20548335567838, -33.99956343515652)] +[(0.2978438394887917, -33.99956343515652), (121.20548335567841, -33.99956343515652)] @@ -3490,7 +3346,7 @@ controlflow { - + asynchSignal @@ -3503,99 +3359,45 @@ controlflow { - - - - - - - - - - - - - - - - -0 - - -0 - - - - - - - - -(1.0, 0.0, 0.0, 1.0, 226.41198321636313, 162.649296166803) - - -[(-5.998609815617762, 4.627816830164761), (114.546040842686, 4.627816830164761)] - - - - - - - - - - -asynchSignal - - -releaseButton - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + -: BlinkerApp +blB : BlinkerApp + + -(1.0, 0.0, 0.0, 1.0, 748.5837699394001, 215.96482849121094) +(1.0, 0.0, 0.0, 1.0, 1120.2582409655004, 158.3548038873035) (0.0, 0.0) -100.0 +126.33943414082012 50.0 @@ -3607,290 +3409,35 @@ controlflow { -1200.833697700353 +838.4183626692754 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - -1 - - - - - - - - -(1.0, 0.0, 0.0, 1.0, 332.8828035800215, 46.83712456227371) - - -[(8.075220479027621, 0.0), (40.0, 0.0), (40.0, 40.801776356559685), (8.075220479027621, 40.801776356559685)] - - - - - - - - - - - - - -evCheckInput() - - - - - - - - - - - - - - - - - - - - - -1 - - -1 - - - - - - - - -(1.0, 0.0, 0.0, 1.0, 342.88280358002163, 97.580550893519) - - -[(-1.9247795209724927, 0.0), (30.0, 0.0), (30.0, 40.801776356559685), (-1.9247795209724927, 40.801776356559685)] - - - - - - - - - - - - - -0 - - -0 - - - - - - - - -(1.0, 0.0, 0.0, 1.0, 701.9980961218574, 323.1148199158372) - - -[(2.1011961433767965, 1.3873104799354792), (197.11011938538093, 1.3873104799354792)] - - - - - - - - - - - - - -evSingleClick() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - -1 - - - - - - - - -(1.0, 0.0, 0.0, 1.0, 342.88280358002174, 147.6006635192057) - - -[(-1.9247795209726064, 0.0), (30.0, 0.0), (30.0, 40.801776356559685), (-1.9247795209726064, 40.801776356559685)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1 - - -1 - - - - - - - - -(1.0, 0.0, 0.0, 1.0, 342.8828035800217, 198.3344013078883) - - -[(-1.9247795209725496, 0.0), (30.0, 0.0), (30.0, 40.801776356559685), (-1.9247795209725496, 40.801776356559685)] - - - - - - - - - - - + + + + -ledL : LED +ledR : LED + + -(1.0, 0.0, 0.0, 1.0, 898.3545872314548, 215.9648284912109) +(1.0, 0.0, 0.0, 1.0, 1428.2530553046229, 158.3548038873035) (0.0, 0.0) @@ -3908,7 +3455,7 @@ controlflow { -1093.7421490379827 +838.4183626692754 @@ -3922,111 +3469,21 @@ controlflow { 0 - + (1.0, 0.0, 0.0, 1.0, 881.055712859322, 602.088056441198) -[(-82.47194291992196, -2.102487242861855), (67.29887437213279, -2.102487242861855)] +[(33.43781307519271, 3.5639865226812617), (302.3722451765884, 3.5639865226812617)] - + - + - - - - - -evBlink() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -stm - - - - - -New State Machine Diagram - - - - - - - - - - - - - - - - - - - - - - - - - - - - -(1.0, 0.0, 0.0, 1.0, 297.30078125, 107.33008087310046) - - -(0.0, 0.0) - - -20.0 - - -20.0 - - - - - - - - State Machine @@ -4047,13 +3504,307 @@ controlflow { + + +Factory + + + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 10.582105756417851, 36.41313020682611) + + +(0.0, 0.0) + + +100.0 + + +60.0 + + + + + + + + + + + + + +clickHandler + + + + + + + + + + + + + + + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1191.0, 39.0) + + +(-66.80303030303048, 0.0) + + +338.8030303030305 + + +247.85812377929688 + + + + + + + + + + + + + +- button: BUTTON* + + + + + + + +state + + +STATE + + +private + + + + + + + +longClick + + +callBack + + +private + + + + + + + +singleClick + + +callBack + + +private + + + + + + + +doubleClick + + +callBack + + +private + + + + + + + +init + + + + + + + + + + +return + + + + + +void + + + + +in + + +BUTTON b + + + + + + + + + + +definceCallBack + + + + + + + + + + + +return + + + + + +callBack + + + + +in + + +fCallBack f + + + + + + + +in + + +void + + + + + + + +(1.0, 0.0, 0.0, 1.0, -101.87443202973321, 263.40496078984955) + + +(-14.92789409859654, -17.490145530560028) + + +1735.7685897210645 + + +750.8989548257853 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +button + + + + + + + + + + + + + + + + + + + + + + - - - @@ -4074,29 +3825,97 @@ controlflow { - - -(1.0, 0.0, 0.0, 1.0, 50.76954650878906, 113.79882537689954) - - -(0.0, 0.0) - - -89.59765625 - - -76.91603363188949 - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +User Press left button shortly + + + + + + + + + + + + + + +stm + + + + + +New State Machine Diagram + + + + + + + + + + + + - - - + +0 + + +0 + - + - + +(1.0, 0.0, 0.0, 1.0, 309.109375, 117.90237976377904) + + +[(-1.80859375, 9.427701109321418), (-1.509765625, 48.72459136811048)] + + + + + + + + @@ -4123,6 +3942,74 @@ controlflow { + + +(1.0, 0.0, 0.0, 1.0, 212.03123474121094, 52.828145754989976) + + +(0.0, 0.0) + + +246.12892150878906 + + +302.81251525878906 + + + + + + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 50.76954650878906, 113.79882537689954) + + +(0.0, 0.0) + + +89.59765625 + + +76.91603363188949 + + + + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 297.30078125, 107.33008087310046) + + +(0.0, 0.0) + + +20.0 + + +20.0 + + + + + + + + @@ -4153,37 +4040,6 @@ controlflow { - - -poll() - - - - - - - -0 - - -0 - - - - - -(1.0, 0.0, 0.0, 1.0, 309.109375, 117.90237976377904) - - -[(-1.80859375, 9.427701109321418), (-1.509765625, 48.72459136811048)] - - - - - - - - @@ -4208,120 +4064,1956 @@ controlflow { - + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 342.8828035800217, 198.3344013078883) + + +[(-0.5747930590775638, 0.0), (30.0, 0.0), (30.0, 40.801776356559685), (-0.5747930590775638, 40.801776356559685)] + + + + + + + + + + + + -button +evCheckInput() - + + + + + + - - - - - - - + + + + + + +1 + + +1 + + + + + + + -(1.0, 0.0, 0.0, 1.0, 212.03123474121094, 52.828145754989976) +(1.0, 0.0, 0.0, 1.0, 342.88280358002174, 147.6006635192057) + + +[(-0.5747930590776207, 0.0), (30.0, 0.0), (30.0, 40.801776356559685), (-0.5747930590776207, 40.801776356559685)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 701.9980961218574, 323.1148199158372) + + +[(3.4511826052721517, 1.3873104799354792), (314.3698618423905, 1.387310479935536)] + + + + + + + + + + + + + +singleClick() + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 342.88280358002163, 97.580550893519) + + +[(-0.574793059077507, 0.0), (30.0, 0.0), (30.0, 40.801776356559685), (-0.574793059077507, 40.801776356559685)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 332.8828035800215, 46.83712456227371) + + +[(9.425206940922607, 0.0), (40.0, 0.0), (40.0, 40.801776356559685), (9.425206940922607, 40.801776356559685)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 226.41198321636313, 162.649296166803) + + +[(-5.998609815617762, 4.627816830164761), (115.896027304581, 4.627816830164761)] + + + + + + + + + + +asynchSignal + + +releaseButton + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 215.6438199706265, 84.42953202911686) + + +[(126.66419055031761, 13.151018864402118), (489.8054587565031, 13.151018864402147)] + + + + + + + + + + + + + +evPress() + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 331.8284218647998, 522.8842634358608) + + +[(10.47958865614433, -324.54986212797246), (373.62085686232984, -324.54986212797246)] + + + + + + + + + + + + + +evRelease() + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 721.0262867848036, 55.29107777941851) + + +[(-15.577008057673993, 50.307665260309136), (46.84273220047726, 50.307665260309136), (46.84273220047726, 257.3424505916979), (-15.577008057673993, 257.3424505916979)] + + + + + + + + + + + + + +evTimeout() + + + + + + + + + + + + + + + + + + + + + + +app: App + + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 864.4935259345148, 158.3548038873035) (0.0, 0.0) -246.12892150878906 +100.0 -302.81251525878906 +50.0 - - - - - - - - - - - - - - - - - - - - - - - - -1 - - -1 - - + - -(1.0, 0.0, 0.0, 1.0, 947.7655962116562, 609.708084827207) - - -[(0.588991019798641, 0.0), (40.0, 0.0), (40.0, 33.000129862624306), (0.588991019798641, 33.000129862624306)] - - - - - - - - - + +838.4183626692754 + + + -evToggle() +blink() - - - + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1285.710651969352, 357.5893540781526) + + +[(-0.4082619037083077, -4.720699047422613), (294.41683536500454, -4.720699047422613)] + + + + + + + + + + + + + +turnOn() + + + + + + + + + + + + + + +1 + + +1 + + + + + +(1.0, 0.0, 0.0, 1.0, 1185.1862064015138, 616.2736158205797) + + +[(-1.7582483656033219, 0.0), (40.0, 0.0), (40.0, 51.9276895216467), (-1.7582483656033219, 51.9276895216467)] + + + + + + + + + + + + + +evTimer() + + + + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1295.710651969352, 413.61616979052087) + + +[(-10.408261903708308, 0.6215728567008227), (30.0, 0.6215728567008227), (29.999999999999886, 51.9276895216467), (-10.408261903708308, 51.9276895216467), (-10.408261903708308, 51.9276895216467)] + + + + + + + + + + + + + +0 + + +0 + + + + + +(1.0, 0.0, 0.0, 1.0, 1186.7259363544997, 675.6449968389918) + + +[(-3.29797831858923, 1.997706598079617), (291.5271189501236, 1.997706598079617)] + + + + + + + + + + + + + +turnOff() + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1309.7003875748253, 486.9094131239309) + + +[(-24.39799750918155, -4.720699047422613), (270.4270997595313, -4.720699047422613)] + + + + + + + + + + + + + + + +press Shortly + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 89.01800798026545, 303.9760422967554) + + +(-81.30838485044865, -9.499645708759545) + + +803.9562065350315 + + +334.5259310194845 + + + + + + + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 89.01800798026544, 849.5163156149129) + + +(-81.30838485044865, -9.499645708759545) + + +803.9562065350315 + + +100.0 + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 703.6124103584344, 625.2243986363682) + + +[(1.83686836869515, 1.3873104799354792), (312.7555476058135, 1.387310479935536)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1313.7731386403452, 616.8329388179193) + + +[(-28.470748574701474, -4.720699047422613), (266.3543486940114, -4.720699047422613)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1291.8619738000837, 544.0750887009718) + + +[(-6.5595837344399115, 1.997706598079617), (288.26551353427294, 1.997706598079617)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1281.6239983677992, 673.9986143949604) + + +[(3.6783916978445177, 1.997706598079617), (298.50348896655737, 1.997706598079617)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1295.7106519693523, 481.5671412198075) + + +[(-10.408261903708535, 0.6215728567008227), (30.0, 0.6215728567008227), (29.999999999999886, 51.9276895216467), (-10.408261903708535, 51.9276895216467), (-10.408261903708535, 51.9276895216467)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1298.166880598196, 545.4512224423506) + + +[(-12.864490532552281, 0.6215728567008227), (30.0, 0.6215728567008227), (29.999999999999886, 51.9276895216467), (-12.864490532552281, 51.9276895216467), (-12.864490532552281, 51.9276895216467)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1298.166880598196, 611.4906669137957) + + +[(-12.864490532552281, 0.6215728567008227), (30.0, 0.6215728567008227), (29.999999999999886, 51.9276895216467), (-12.864490532552281, 51.9276895216467), (-12.864490532552281, 51.9276895216467)] + + + + + + + + + + + + + +0 + + +0 + + + + + +(1.0, 0.0, 0.0, 1.0, 913.5953847114395, 907.5705663795131) + + +[(0.8981412230752994, -0.5388408122253168), (269.832573324471, -0.5388408122253168)] + + + + + + + + + + + + + +endBlink() + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 153.34035003191804, 207.70161218656335) + + +[(-1.924779520972578, 0.0), (30.0, 0.0), (30.0, 40.801776356559685), (-1.924779520972578, 40.801776356559685)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 153.34035003191784, 256.88909604665076) + + +[(-1.924779520972379, 0.0), (30.0, 0.0), (30.0, 40.801776356559685), (-1.924779520972379, 40.801776356559685)] + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 190.43357849121094, 1052.5959364285106) + + +(0.0, 0.0) + + +100.0 + + +50.0 + + + + + + + + +838.4183626692754 + + + + +(1.0, 0.0, 0.0, 1.0, 100.52593897502126, 1047.5959364285106) + + +(0.0, 0.0) + + +38.0 + + +60.0 + + + + + + + + + + + + + +0 + + +0 + + +(1.0, 0.0, 0.0, 1.0, 129.52593897502123, 268.3548038873035) + + +[(-10.986997604008991, 859.2411325412072), (-9.999999999999943, 1623.1388643449477)] + + + + + + + +(1.0, 0.0, 0.0, 1.0, 529.0400232111891, 1052.5959364285106) + + +(0.0, 0.0) + + +149.0696469724145 + + +50.0 + + + + + + + + +838.4183626692754 + + + + +(1.0, 0.0, 0.0, 1.0, 864.4935259345149, 1052.5959364285106) + + +(0.0, 0.0) + + +100.0 + + +50.0 + + + + + + + + +838.4183626692754 + + + + +(1.0, 0.0, 0.0, 1.0, 1120.2582409655004, 1052.5959364285106) + + +(0.0, 0.0) + + +126.33943414082012 + + +50.0 + + + + + + + + +838.4183626692754 + + + + +(1.0, 0.0, 0.0, 1.0, 1428.253055304623, 1052.5959364285106) + + +(0.0, 0.0) + + +100.0 + + +50.0 + + + + + + + + +838.4183626692754 + + + + + + + + + + + + + + + + + + + + +User double click on left button + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, -116.80232612832984, 1141.279169111594) + + +(0.0, 0.0) + + +1735.7685897210647 + + +754.4344554312295 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 235.34126749934214, 269.66074103502865) + + +[(0.0, 0.0), (121.89463712019864, 0.0)] + + + + + + + + + + +asynchSignal + + +pressButton + + + + + - + + + + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 350.38020780964695, 65.42100367773944) + + +[(6.8556968098938285, 0.0), (40.0, 0.0), (39.999999999999915, 38.211741632850135), (6.8556968098938285, 38.211741632850135)] + + + + + + + + + + + + + +evCheckInput() + + + + + + + + + + + + + - + - + - + - + - + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 349.16068414051307, 110.382618981972) + + +[(8.075220479027706, 0.0), (40.0, 0.0), (39.999999999999915, 38.211741632850135), (8.075220479027706, 38.211741632850135)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 349.16068414051296, 160.48987796156925) + + +[(8.07522047902782, 0.0), (40.0, 0.0), (39.999999999999915, 38.211741632850135), (8.07522047902782, 38.211741632850135)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 349.16068414051296, 206.86574531502603) + + +[(8.07522047902782, 0.0), (40.0, 0.0), (39.999999999999915, 38.211741632850135), (8.07522047902782, 38.211741632850135)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 349.1606841405129, 257.3779972559767) + + +[(8.075220479027877, 0.0), (40.0, 0.0), (39.999999999999915, 38.211741632850135), (8.075220479027877, 38.211741632850135)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 349.16068414051307, 304.6919135173786) + + +[(8.075220479027706, 0.0), (40.0, 0.0), (39.999999999999915, 38.211741632850135), (8.075220479027706, 38.211741632850135)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 235.34126749934194, 185.26323591578011) + + +[(0.0, -5.330559465914462), (121.89463712019882, -5.330559465914433)] + + + + + + + + + + +asynchSignal + + +releaseButton + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 355.99113357414785, 107.45705963009141) + + +[(1.2447710453928948, 2.925559351880679), (364.3860392515783, 2.925559351880679)] + + + + + + + + + + + + + +evPress() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 355.99113357414785, 205.5319651961704) + + +[(1.2447710453928948, 1.3337801188556568), (364.3860392515783, 1.3337801188556568)] + + + + + + + + + + + + + +evRelease() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 244.35426989533315, 84.6254174661209) + + +[(-9.013002395990895, 0.0), (112.88163472420763, 0.0)] + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 365.99113357414785, 301.76635416549794) + + +[(-8.755228954607077, 2.925559351880679), (354.3860392515784, 2.925559351880679)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 742.7969130838775, 122.3868041976378) + + +[(-22.41974025815125, 0.0), (40.0, 0.0), (40.0, 220.51685095259108), (-22.41974025815125, 220.51685095259108)] + + + + + + + + + + + + + +evTimeout() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 719.5164730665232, 371.89567864656647) + + +[(0.860699759202987, -19.76393831030316), (311.7793789963215, -19.763938310303047)] + + + + + + + + + + + + + +doubleClick() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1029.8103045382816, 366.12752764856737) + + +[(1.4855475245627758, -4.9409845775758185), (270.4199796259583, -4.9409845775758185)] + + + + + + + + + + + + + +blinkN() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1299.5880624739193, 378.0718403068738) + + +[(0.6422216903208096, -2.9645907465453547), (295.4673189590335, -2.9645907465453547)] + + + + + + + + + + + + + +turnOn() + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -4332,25 +6024,42 @@ controlflow { 1 - + - + -(1.0, 0.0, 0.0, 1.0, 1048.2900417794945, 391.6266672984333) +(1.0, 0.0, 0.0, 1.0, 1301.988532529844, 375.10724956032857) -[(0.5889910197985273, 0.0), (40.0, 0.0), (40.0, 33.000129862624306), (0.5889910197985273, 33.000129862624306)] +[(-1.7582483656035492, 0.0), (40.0, 0.0), (40.0, 50.19209415456646), (-1.7582483656035492, 50.19209415456646)] - + - + - + + + + + +evTimer() + + + + + + + + + + + + @@ -4361,22 +6070,2036 @@ controlflow { 1 - + - + -(1.0, 0.0, 0.0, 1.0, 1048.2900417794945, 441.53324667030404) +(1.0, 0.0, 0.0, 1.0, 1301.988532529844, 435.2583120843854) -[(0.5889910197985273, 0.0), (40.0, 0.0), (40.0, 33.000129862624306), (0.5889910197985273, 33.000129862624306)] +[(-1.7582483656035492, 0.0), (40.0, 0.0), (40.0, 50.19209415456646), (-1.7582483656035492, 50.19209415456646)] - + - + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1301.988532529844, 496.4648795247164) + + +[(-1.7582483656035492, 0.0), (40.0, 0.0), (40.0, 50.19209415456646), (-1.7582483656035492, 50.19209415456646)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1301.988532529844, 555.8747253004744) + + +[(-1.7582483656035492, 0.0), (40.0, 0.0), (40.0, 50.19209415456646), (-1.7582483656035492, 50.19209415456646)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1301.988532529844, 615.2845710762324) + + +[(-1.7582483656035492, 0.0), (40.0, 0.0), (40.0, 50.19209415456646), (-1.7582483656035492, 50.19209415456646)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1299.8711011706973, 434.9061379412101) + + +[(0.35918299354278815, 0.35217414317514795), (295.18428026225547, 0.35217414317514795)] + + + + + + + + + + + + + +TurnOff() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1318.5716707967845, 499.4294702712616) + + +[(-18.3413866325443, -2.9645907465453547), (276.4837106361683, -2.9645907465453547)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1328.5716707967845, 618.2491618227776) + + +[(-28.3413866325443, -2.9645907465453547), (266.4837106361683, -2.9645907465453547)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1314.3629053321297, 555.5225511572992) + + +[(-14.132621167889738, 0.35217414317514795), (280.6924761008229, 0.35217414317514795)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1319.8711011706973, 674.3422427088145) + + +[(-19.640817006457155, 0.35217414317514795), (275.18428026225547, 0.35217414317514795)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1300.7694620029836, 684.9148715208811) + + +[(-0.539177838743683, -0.33848551373978353), (-269.4736099401392, -0.3384855137400109)] + + + + + + + + + + + + + +finished() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 99.53894137101223, 1968.8584914233372) + + +(0.0, 0.0) + + +38.0 + + +60.0 + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 190.43357849121034, 1973.8584914233372) + + +(0.0, 0.0) + + +100.0 + + +50.0 + + + + + + + + +838.4183626692754 + + + + +(1.0, 0.0, 0.0, 1.0, 529.0400232111892, 1973.8584914233372) + + +(0.0, 0.0) + + +149.0696469724145 + + +50.0 + + + + + + + + +838.4183626692754 + + + + +(1.0, 0.0, 0.0, 1.0, 864.493525934515, 1973.8584914233372) + + +(0.0, 0.0) + + +100.0 + + +50.0 + + + + + + + + +838.4183626692754 + + + + +(1.0, 0.0, 0.0, 1.0, 1120.2582409655004, 1973.8584914233372) + + +(0.0, 0.0) + + +126.33943414082012 + + +50.0 + + + + + + + + +838.4183626692754 + + + + +(1.0, 0.0, 0.0, 1.0, 1460.0471006961595, 1973.8584914233372) + + +(0.0, 0.0) + + +100.0 + + +50.0 + + + + + + + + +838.4183626692754 + + + + + + + + + + + + + + + + + + + + +User press long time on left button + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, -116.8023261283297, 2062.6528204170445) + + +(0.0, 2.0500060621467355) + + +1735.7685897210645 + + +748.1644930585105 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + +(1.0, 0.0, 0.0, 1.0, 139.52593897502123, 278.3548038873035) + + +[(-20.986997604009048, 1770.5036875360338), (-20.986997604009048, 2534.512515650398)] + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 350.380207809647, 70.97355007564198) + + +[(6.855696809893033, -3.791661116483624), (40.0, -3.791661116483624), (40.0, 34.124950048349774), (6.855696809893033, 34.124950048349774)] + + + + + + + + + + + + + +evCheckInput() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 350.38020780964706, 120.2122706929551) + + +[(6.855696809893033, -3.791661116483624), (40.0, -3.791661116483624), (40.0, 34.124950048349774), (6.855696809893033, 34.124950048349774)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 350.3802078096477, 170.23576572261416) + + +[(6.8556968098923505, -3.791661116483624), (40.0, -3.791661116483624), (40.0, 34.124950048349774), (6.8556968098923505, 34.124950048349774)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 350.38020780964837, 219.47448633992704) + + +[(6.855696809891782, -3.791661116483624), (40.0, -3.791661116483624), (40.0, 34.124950048349774), (6.855696809891782, 34.124950048349774)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 350.3802078096483, 267.14365813254784) + + +[(6.855696809891782, -3.791661116483624), (40.0, -3.791661116483624), (40.0, 34.124950048349774), (6.855696809891782, 34.124950048349774)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 350.380207809649, 317.16715316220757) + + +[(6.8556968098911, -3.791661116483624), (40.0, -3.791661116483624), (40.0, 34.124950048349774), (6.8556968098911, 34.124950048349774)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 235.34126749934182, 86.40760452116092) + + +[(0.0, 0.0), (121.89463712019821, 0.0)] + + + + + + + + + + +asynchSignal + + +pressButton + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 355.68564664076365, 116.48479621907109) + + +[(1.5502579787763864, -0.06418664259678053), (364.6915261849625, -0.06418664259678053)] + + + + + + + + + + + + + +evPress() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 742.7969130838773, 129.19351272176084) + + +[(-22.419740258151023, 0.0), (40.0, 0.0), (40.0, 202.91910146052646), (-22.419740258151023, 202.91910146052646)] + + + + + + + + + + + + + +evTimeout() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 718.6869045281618, 352.8485813595014) + + +[(1.6902682975635912, -9.223595520933031), (312.6089475346821, -9.223595520933031)] + + + + + + + + + + + + + +longClick() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ledL: LED + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1345.7280383826535, 1973.8584914233372) + + +(0.0, 0.0) + + +100.0 + + +50.0 + + + + + + + + +839.0088281143644 + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1030.4720815812284, 360.53491096028256) + + +[(0.8237704816153837, 6.149063680622021), (269.7582025830108, 6.149063680622021)] + + + + + + + + + + + + + +blink() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +press Longly + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 16.752105436964783, 2103.971802599598) + + +(0.0, 0.0) + + +799.5226814431451 + + +348.72768608177967 + + + + + + + + + + + + + +1 + + +1 + + + + + +(1.0, 0.0, 0.0, 1.0, 1182.0287000210888, 2441.408901588794) + + +[(1.399258014821669, 0.0), (40.0, 0.0), (40.0, 44.486873970227066), (1.399258014821669, 44.486873970227066)] + + + + + + + + + + + + + +evTimer() + + + + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1298.8310261494184, 432.28073187353675) + + +[(1.3992580148217257, 0.0), (40.0, 0.0), (40.0, 44.486873970227066), (1.3992580148217257, 44.486873970227066)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1298.8310261494187, 485.6600204700708) + + +[(1.3992580148214984, 0.0), (40.0, 0.0), (40.0, 44.486873970227066), (1.3992580148214984, 44.486873970227066)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1298.8310261494187, 543.145408189414) + + +[(1.3992580148214984, 0.0), (40.0, 0.0), (40.0, 44.486873970227066), (1.3992580148214984, 44.486873970227066)] + + + + + + + + + + + + + +1 + + +1 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1298.8310261494187, 600.776158014012) + + +[(1.3992580148214984, 0.0), (40.0, 0.0), (40.0, 44.486873970227066), (1.3992580148214984, 44.486873970227066)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1297.2028221225305, 378.02359277506594) + + +[(3.0274620417096116, 0.7324883966832658), (215.32754238845268, 0.7324883966832658)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1298.4544908080388, 376.7719240895576) + + +[(1.7757933562012909, 1.9841570821915866), (328.3949360164504, 1.9841570821915866)] + + + + + + + + + + + + + +turnOn() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + +(1.0, 0.0, 0.0, 1.0, 1181.6940356318921, 2494.569263609006) + + +[(1.7339224040183012, 0.36428868157508987), (214.03400275076137, 0.36428868157508987)] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + +(1.0, 0.0, 0.0, 1.0, 1182.4005699739262, 2496.6888666351088) + + +[(1.0273880619842544, -1.7553143445273918), (327.64653072223336, -1.7553143445273918)] + + + + + + + + + + + + + +turnOff() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1307.2028221225305, 484.9275320733874) + + +[(-6.9725379582903315, 0.7324883966832658), (205.32754238845268, 0.7324883966832658)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1308.4544908080388, 483.675863387879) + + +[(-8.224206643798652, 1.9841570821915866), (318.3949360164504, 1.9841570821915866)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1309.729591816023, 600.043669617329) + + +[(-9.499307651783965, 0.7324883966832658), (202.80077269495905, 0.7324883966832658)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1310.9812605015316, 598.7920009318209) + + +[(-10.750976337292286, 1.9841570821915866), (315.86816632295677, 1.9841570821915866)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1308.4963617602207, 542.7811195078389) + + +[(-8.266077595981642, 0.36428868157508987), (204.03400275076137, 0.36428868157508987)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1309.2028961022547, 544.9007225339415) + + +[(-8.972611938015689, -1.7553143445273918), (317.64653072223336, -1.7553143445273918)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1314.3921577117076, 655.5789596833488) + + +[(-14.161873547467394, 0.36428868157508987), (198.13820679927562, 0.36428868157508987)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1315.0986920537414, 657.6985627094509) + + +[(-14.868407889501214, -1.7553143445273918), (311.75073477074784, -1.7553143445273918)] + + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 16.752105436964783, 2600.2851025766854) + + +(0.0, 0.0) + + +799.5226814431451 + + +100.0 + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 722.2682445335112, 609.9997535349455) + + +[(-1.8910717077849313, -9.223595520933031), (309.02760752933364, -9.223595520933031)] + + + + + + + + + + + + + +0 + + +0 + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1035.2170253559248, 624.3964689158051) + + +[(-3.92117329307996, 0.0), (265.0132588083155, 0.0)] + + + + + + + + + + + + + +endBlink() + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +nBlink: 1 + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1501.6906776623516, 1518.4963968272089) + + +(0.0, 0.0) + + +100.0 + + +50.19209415456646 + + + + + + + + + + +nBlink: 2 + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1501.6906776623516, 1637.9361427908773) + + +(0.0, 0.0) + + +100.0 + + +50.0 + + + + + + + + + + +nBlink: 3 + + + + + + + + + +(1.0, 0.0, 0.0, 1.0, 1501.6906776623514, 1756.5637401878264) + + +(0.0, 0.0) + + +100.0 + + +50.0 + + + + + + + + \ No newline at end of file