bouton.abp 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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="pin-write-digital" id="489">
  7. <Location>
  8. <X>586</X>
  9. <Y>311</Y>
  10. </Location>
  11. <BeforeBlockId>483</BeforeBlockId>
  12. <Sockets num-sockets="2">
  13. <BlockConnector con-block-id="490" connector-kind="socket" connector-type="number" init-type="number" label="#" position-type="single"/>
  14. <BlockConnector con-block-id="491" connector-kind="socket" connector-type="boolean" init-type="boolean" label="" position-type="single"/>
  15. </Sockets>
  16. </Block>
  17. <Block genus-name="digital-low" id="491">
  18. <Location>
  19. <X>728</X>
  20. <Y>338</Y>
  21. </Location>
  22. <Plug>
  23. <BlockConnector con-block-id="489" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
  24. </Plug>
  25. </Block>
  26. <Block genus-name="number" id="490">
  27. <Label>8</Label>
  28. <Location>
  29. <X>728</X>
  30. <Y>314</Y>
  31. </Location>
  32. <Plug>
  33. <BlockConnector con-block-id="489" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
  34. </Plug>
  35. </Block>
  36. <Block genus-name="pin-write-digital" id="486">
  37. <Location>
  38. <X>587</X>
  39. <Y>246</Y>
  40. </Location>
  41. <BeforeBlockId>483</BeforeBlockId>
  42. <Sockets num-sockets="2">
  43. <BlockConnector con-block-id="487" connector-kind="socket" connector-type="number" init-type="number" label="#" position-type="single"/>
  44. <BlockConnector con-block-id="488" connector-kind="socket" connector-type="boolean" init-type="boolean" label="" position-type="single"/>
  45. </Sockets>
  46. </Block>
  47. <Block genus-name="digital-high" id="488">
  48. <Location>
  49. <X>729</X>
  50. <Y>273</Y>
  51. </Location>
  52. <Plug>
  53. <BlockConnector con-block-id="486" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="mirror"/>
  54. </Plug>
  55. </Block>
  56. <Block genus-name="number" id="487">
  57. <Label>8</Label>
  58. <Location>
  59. <X>729</X>
  60. <Y>249</Y>
  61. </Location>
  62. <Plug>
  63. <BlockConnector con-block-id="486" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
  64. </Plug>
  65. </Block>
  66. <Block genus-name="pin-read-digital" id="484">
  67. <Location>
  68. <X>590</X>
  69. <Y>217</Y>
  70. </Location>
  71. <Plug>
  72. <BlockConnector con-block-id="483" connector-kind="plug" connector-type="boolean" init-type="boolean" label="" position-type="single"/>
  73. </Plug>
  74. <Sockets num-sockets="1">
  75. <BlockConnector con-block-id="485" connector-kind="socket" connector-type="number" init-type="number" label="#" position-type="single"/>
  76. </Sockets>
  77. </Block>
  78. <Block genus-name="number" id="485">
  79. <Label>7</Label>
  80. <Location>
  81. <X>710</X>
  82. <Y>217</Y>
  83. </Location>
  84. <Plug>
  85. <BlockConnector con-block-id="484" connector-kind="plug" connector-type="number" init-type="number" label="" position-type="mirror"/>
  86. </Plug>
  87. </Block>
  88. <Block genus-name="ifelse" id="483">
  89. <Location>
  90. <X>486</X>
  91. <Y>214</Y>
  92. </Location>
  93. <BeforeBlockId>154</BeforeBlockId>
  94. <Sockets num-sockets="3">
  95. <BlockConnector con-block-id="484" connector-kind="socket" connector-type="boolean" init-type="boolean" label="test" position-type="single"/>
  96. <BlockConnector con-block-id="486" connector-kind="socket" connector-type="cmd" init-type="cmd" label="then" position-type="single"/>
  97. <BlockConnector con-block-id="489" connector-kind="socket" connector-type="cmd" init-type="cmd" label="else" position-type="single"/>
  98. </Sockets>
  99. </Block>
  100. <Block genus-name="loop" id="154">
  101. <Location>
  102. <X>401</X>
  103. <Y>206</Y>
  104. </Location>
  105. <Sockets num-sockets="1">
  106. <BlockConnector con-block-id="483" connector-kind="socket" connector-type="cmd" init-type="cmd" label="Faire" position-type="single"/>
  107. </Sockets>
  108. </Block>
  109. </PageBlocks>
  110. </Page>
  111. </Pages>
  112. </cb:CODEBLOCKS>