Created
August 20, 2011 15:22
-
-
Save ril3y/1159227 to your computer and use it in GitHub Desktop.
TinyG Config JSON object
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"config": { | |
"XON": true, | |
"AUTOHOME": false, | |
"DEBUG": true, | |
"Motor1": { | |
"axis": "X", | |
"deg_per_step": "1.8", | |
"step_per_min": "500", | |
"polarity": 1, | |
"feedrate": "200", | |
"max_angular_jerk": "5", | |
"holder": 1 | |
}, | |
"Motor2": { | |
"axis": "Y", | |
"deg_per_step": "1.8", | |
"step_per_min": "500", | |
"polarity": 1, | |
"feedrate": "200", | |
"max_angular_jerk": "5", | |
"holder": 1 | |
}, | |
"Motor3": { | |
"axis": "Z", | |
"deg_per_step": "1.8", | |
"step_per_min": "500", | |
"polarity": 1, | |
"feedrate": "200", | |
"max_angular_jerk": "5", | |
"holder": 1 | |
}, | |
"Motor4": { | |
"axis": "A", | |
"deg_per_step": "1.8", | |
"step_per_min": "500", | |
"polarity": 1, | |
"feedrate": "200", | |
"max_angular_jerk": "5", | |
"holder": 1 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Re: Gists - very cool - will play with. Re: JSON, I think we need a ServerConfig to hold server side things something like...
"ServerConfig":{
"port": {
"portname":"com1",
"Baud":"9600"
}
"Server":{
"format":,"JSON"
}
}