Import LinuxCNC source tree
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# CUSTOM PYTHON CODE, RUNS ONCE AT STARTUP
|
||||
|
||||
# example to change the color of the arc voltage digits
|
||||
#rC(fplasma + '.arc-voltage','configure','-fg','#ff00aa')
|
||||
4
configs/sim/axis/plasma/plasmac2/lib/custom/user_hal.py
Normal file
4
configs/sim/axis/plasma/plasmac2/lib/custom/user_hal.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# CUSTOM HAL PINS, RUNS ONCE AT STARTUP
|
||||
|
||||
# example hal pin named my-halpin
|
||||
#comp.newpin('my-halpin', hal.HAL_FLOAT, hal.HAL_IN)
|
||||
@@ -0,0 +1,5 @@
|
||||
# CUSTOM PERIODIC CODE, RUNS ONCE EVERY CYCLE
|
||||
|
||||
# example to print value of custom hal pin if not zero
|
||||
#if comp['my-halpin']:
|
||||
# print(comp['my-halpin'])
|
||||
Reference in New Issue
Block a user