Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ardublockly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ardublockly
Commits
0dd08168
Commit
0dd08168
authored
Jul 13, 2015
by
carlosperate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update examples due to latest changes to blockly.
parent
b2a209d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
ardublockly/examples/blink.xml
ardublockly/examples/blink.xml
+1
-1
ardublockly/examples/serial_print_ascii_.xml
ardublockly/examples/serial_print_ascii_.xml
+2
-2
ardublockly/examples/stepper_knob.xml
ardublockly/examples/stepper_knob.xml
+1
-5
No files found.
ardublockly/examples/blink.xml
View file @
0dd08168
...
...
@@ -18,7 +18,7 @@
<field
name=
"BUILT_IN_LED"
>
13
</field>
<value
name=
"STATE"
>
<block
type=
"io_highlow"
id=
"163"
>
<field
name=
"STATE"
>
HIGH
</field>
<field
name=
"STATE"
>
LOW
</field>
</block>
</value>
<next>
...
...
ardublockly/examples/serial_print_ascii_.xml
View file @
0dd08168
...
...
@@ -34,7 +34,7 @@
<field
name=
"NEW_LINE"
>
FALSE
</field>
<value
name=
"CONTENT"
>
<block
type=
"variables_set_type"
id=
"17"
inline=
"true"
>
<field
name=
"VARIABLE_SETTYPE_TYPE"
>
char
</field>
<field
name=
"VARIABLE_SETTYPE_TYPE"
>
CHARACTER
</field>
<value
name=
"VARIABLE_SETTYPE_INPUT"
>
<block
type=
"variables_get"
id=
"18"
>
<field
name=
"VAR"
>
thisByte
</field>
...
...
@@ -57,7 +57,7 @@
<field
name=
"NEW_LINE"
>
TRUE
</field>
<value
name=
"CONTENT"
>
<block
type=
"variables_set_type"
id=
"22"
inline=
"true"
>
<field
name=
"VARIABLE_SETTYPE_TYPE"
>
byte
</field>
<field
name=
"VARIABLE_SETTYPE_TYPE"
>
INTEGER
</field>
<value
name=
"VARIABLE_SETTYPE_INPUT"
>
<block
type=
"variables_get"
id=
"23"
>
<field
name=
"VAR"
>
thisByte
</field>
...
...
ardublockly/examples/stepper_knob.xml
View file @
0dd08168
<xml>
<block
type=
"stepper_config"
id=
"1"
inline=
"false"
x=
"312"
y=
"38"
>
<field
name=
"STEPPER_NAME"
>
MyStepper
</field>
<field
name=
"STEPPER_PIN1"
>
8
</field>
<field
name=
"STEPPER_PIN2"
>
9
</field>
<value
name=
"STEPPER_STEPS"
>
...
...
@@ -12,11 +13,6 @@
<field
name=
"NUM"
>
30
</field>
</block>
</value>
<value
name=
"STEPPER_NAME"
>
<block
type=
"text"
id=
"4"
>
<field
name=
"TEXT"
>
MyStepper
</field>
</block>
</value>
</block>
<block
type=
"variables_set"
id=
"5"
inline=
"true"
x=
"40"
y=
"201"
>
<field
name=
"VAR"
>
val
</field>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment