servo_bouton.abp 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <cb:CODEBLOCKS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://education.mit.edu/openblocks/ns http://education.mit.edu/openblocks/codeblocks.xsd" xmlns:cb="http://education.mit.edu/openblocks/ns">
  3. <Pages collapsible-pages="yes" drawer-with-page="yes">
  4. <Page page-color="40 40 40" page-drawer="ArduBlock" page-infullview="yes" page-name="ArduBlock" page-width="3360">
  5. <PageBlocks>
  6. <Block genus-name="number" id="327">
  7. <Label>9</Label>
  8. <Location>
  9. <X>812</X>
  10. <Y>172</Y>
  11. </Location>
  12. <Plug>
  13. <BlockConnector con-block-id="163" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
  14. </Plug>
  15. </Block>
  16. <Block genus-name="pin-read-digital" id="163">
  17. <Location>
  18. <X>518</X>
  19. <Y>172</Y>
  20. </Location>
  21. <Plug>
  22. <BlockConnector con-block-id="159" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="single"/>
  23. </Plug>
  24. <Sockets num-sockets="1">
  25. <BlockConnector con-block-id="327" connector-kind="socket" connector-type="number" init-type="number" label="#" position-type="single"/>
  26. </Sockets>
  27. </Block>
  28. <Block genus-name="loop" id="154">
  29. <Location>
  30. <X>229</X>
  31. <Y>161</Y>
  32. </Location>
  33. <Sockets num-sockets="1">
  34. <BlockConnector con-block-id="159" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Faire" position-type="single"/>
  35. </Sockets>
  36. </Block>
  37. <Block genus-name="ifelse" id="159">
  38. <Location>
  39. <X>328</X>
  40. <Y>169</Y>
  41. </Location>
  42. <BeforeBlockId>154</BeforeBlockId>
  43. <Sockets num-sockets="3">
  44. <BlockConnector con-block-id="163" connector-kind="socket" connector-type="boolean" init-type="boolean" label="Teste" position-type="single"/>
  45. <BlockConnector con-block-id="169" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Alors éxecute.." position-type="single"/>
  46. <BlockConnector con-block-id="172" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Sinon éxécute" position-type="single"/>
  47. </Sockets>
  48. </Block>
  49. <Block genus-name="servo" id="172">
  50. <Location>
  51. <X>514</X>
  52. <Y>266</Y>
  53. </Location>
  54. <BeforeBlockId>159</BeforeBlockId>
  55. <Sockets num-sockets="2">
  56. <BlockConnector con-block-id="173" connector-kind="socket" connector-type="number" init-type="number" label="broche#" position-type="single"/>
  57. <BlockConnector con-block-id="174" connector-kind="socket" connector-type="number" init-type="number" label="angle" position-type="single"/>
  58. </Sockets>
  59. </Block>
  60. <Block genus-name="number" id="174">
  61. <Label>-90</Label>
  62. <Location>
  63. <X>664</X>
  64. <Y>293</Y>
  65. </Location>
  66. <Plug>
  67. <BlockConnector con-block-id="172" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
  68. </Plug>
  69. </Block>
  70. <Block genus-name="number" id="173">
  71. <Label>8</Label>
  72. <Location>
  73. <X>664</X>
  74. <Y>269</Y>
  75. </Location>
  76. <Plug>
  77. <BlockConnector con-block-id="172" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
  78. </Plug>
  79. </Block>
  80. <Block genus-name="servo" id="169">
  81. <Location>
  82. <X>515</X>
  83. <Y>201</Y>
  84. </Location>
  85. <BeforeBlockId>159</BeforeBlockId>
  86. <Sockets num-sockets="2">
  87. <BlockConnector con-block-id="170" connector-kind="socket" connector-type="number" init-type="number" label="broche#" position-type="single"/>
  88. <BlockConnector con-block-id="171" connector-kind="socket" connector-type="number" init-type="number" label="angle" position-type="single"/>
  89. </Sockets>
  90. </Block>
  91. <Block genus-name="number" id="171">
  92. <Label>90</Label>
  93. <Location>
  94. <X>665</X>
  95. <Y>228</Y>
  96. </Location>
  97. <Plug>
  98. <BlockConnector con-block-id="169" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
  99. </Plug>
  100. </Block>
  101. <Block genus-name="number" id="170">
  102. <Label>8</Label>
  103. <Location>
  104. <X>665</X>
  105. <Y>204</Y>
  106. </Location>
  107. <Plug>
  108. <BlockConnector con-block-id="169" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
  109. </Plug>
  110. </Block>
  111. </PageBlocks>
  112. </Page>
  113. </Pages>
  114. </cb:CODEBLOCKS>