printrun-src/custombtn.txt

Sat, 04 Jun 2016 13:07:59 +0200

author
mbayer
date
Sat, 04 Jun 2016 13:07:59 +0200
changeset 24
620f9cd7ee9d
parent 15
0bbb006204fc
permissions
-rw-r--r--

Etikett BITMAP_FINISHED für den Änderungssatz e18b2a4ef561 ergänzt

15
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
1 btns=[
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
2 ###Defining custom buttons for pronterface is easy. Here's how.
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
3 ###Below these instructions, add a line with the following format for each button
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
4 # ["button name","command",color(RGB)], <--That comma is important, do not forget it
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
5 ###As an example: (Remove the # to try it out):
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
6 #["Read temp","M105",(200,100,100)],
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
7 #["Disable Axes","M84",(400,100,100)],
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
8 ###You can use gcodes or any pronsole/pronterface commands
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
9 ###The first four buttons will end up at the top of the window, visible in mini mode
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
10 ###The rest of the buttons will be at the bottom under the gcode preview
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
11 ###ADD BUTTON DEFINITIONS BELOW THIS LINE
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
12
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
13
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
14
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
15
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
16 ###ADD BUTTON DEFINITIONS ABOVE THIS LINE
0bbb006204fc Added printrun sourcecode from
mbayer
parents:
diff changeset
17 ]

mercurial